Skip to contentSkip to conversation

Xen 4.3 PCI passthrough possible bug

DISCUSSION Konrad Wilk 4 participants 10 messages Feb 8, 2014 – Feb 12, 2014

lore
Share & tools
lore
#0 lore raw
Quoted 2 lines · ----- [email protected] wrote:

I followed this site ( http://wiki.xenproject.org/wiki/Xen_4.4_RC3_test_instructions ).

and then followed ( http://wiki.xen.org/wiki/Compiling_Xen_From_Source )

Quoted 1 line

Ah, so you are looking for the xen_pt: Fix passthrough of device with ROM. which is not in the Xen 4.4-rc3 but in the master.

One thing you can do is:

cd xen/tools/qemu-xen-dir
git fetch upstream
git checkout origin/master
[you should see: " HEAD is now at 027c412... configure: Disable libtool if -fPIE does not work with it (bug #1257099)"]

Go back to main xen directory:
cd ../../../
./configure
make
make install

and you should be using now an newer version of QEMU with the fix.

Quoted 1 line

git clone -b 4.4.0-rc3 git:// xenbits.xen.org/xen.git

Quoted 1 line

Had to take some additional steps here to get all of the libs

# apt-get install build-essential # apt-get install bcc bin86 gawk bridge-utils iproute libcurl3 libcurl4-openssl-dev bzip2 module-init-tools transfig tgif # apt-get install texinfo texlive-latex-base texlive-latex-recommended texlive-fonts-extra texlive-fonts-recommended pciutils-dev mercurial # apt-get install make gcc libc6-dev zlib1g-dev python python-dev python-twisted libncurses5-dev patch libvncserver-dev libsdl-dev libjpeg62-dev # apt-get install iasl libbz2-dev e2fslibs-dev git-core uuid-dev ocaml ocaml-findlib libx11-dev bison flex xz-utils libyajl-dev # apt-get install gettext
apt-get install libaio-dev
apt-get install libpixman-1-dev ./configure
make dist
make install 
Quoted 779 lines · Konrad Rzeszutek Wilk
Quoted 2 lines · Mike Neiderhauser

I did not use the patch. I was assuming it was already patched given previous email. Is the patch for qemu source or xen source?

It is for QEMU, but you are right - it should have been part of QEMU if you got the latest version of Xen-unstable.

You didn't use some specific tag but just 'staging' ?

Quoted 759 lines
Quoted 754 lines · Konrad Rzeszutek Wilk
Quoted 4 lines · Mike Neiderhauser

Ok. I started ran the initscripts and now xl works.

However, I still see the same behavior as before:

Did you use the patch that was mentioned in the URL?

Quoted 3 lines
root@fiat:~# xl create /etc/xen/ubuntu-hvm-0.cfg 
Parsing config from /etc/xen/ubuntu-hvm-0.cfg 
libxl: error: libxl_qmp.c:448:qmp_next: Socket read error: Connection 

reset

Quoted 71 lines

by peer
libxl: error: libxl_qmp.c:691:libxl__qmp_initialize: Connection error:
Connection refused
libxl: error: libxl_qmp.c:691:libxl__qmp_initialize: Connection error:
Connection refused
libxl: error: libxl_qmp.c:691:libxl__qmp_initialize: Connection error:
Connection refused

root@fiat:~# xl list 
Name ID Mem VCPUs State Time(s) 
Domain-0 0 1024 1 r----- 
15.2 
ubuntu-hvm-0 1 1025 1 ------ 
0.0 

(XEN) Dom0 kernel: 64-bit, PAE, lsb, paddr 0x1000000 -> 0x23f3000 (XEN) PHYSICAL MEMORY ARRANGEMENT:
(XEN) Dom0 alloc.: 0000000134000000->0000000138000000 (233690 pages to be allocated)
(XEN) Init. ramdisk: 000000013d0da000->000000013ffffe00
(XEN) VIRTUAL MEMORY ARRANGEMENT:
(XEN) Loaded kernel: ffffffff81000000->ffffffff823f3000
(XEN) Init. ramdisk: ffffffff823f3000->ffffffff85318e00
(XEN) Phys-Mach map: ffffffff85319000->ffffffff85519000
(XEN) Start info: ffffffff85519000->ffffffff855194b4
(XEN) Page tables: ffffffff8551a000->ffffffff85549000
(XEN) Boot stack: ffffffff85549000->ffffffff8554a000
(XEN) TOTAL: ffffffff80000000->ffffffff85800000
(XEN) ENTRY ADDRESS: ffffffff81d261e0
(XEN) Dom0 has maximum 1 VCPUs
(XEN) elf_load_binary: phdr 0 at 0xffffffff81000000 -> 0xffffffff81b2f000 (XEN) elf_load_binary: phdr 1 at 0xffffffff81c00000 -> 0xffffffff81d0f0f0 (XEN) elf_load_binary: phdr 2 at 0xffffffff81d10000 -> 0xffffffff81d252c0 (XEN) elf_load_binary: phdr 3 at 0xffffffff81d26000 -> 0xffffffff81e6d000 (XEN) Scrubbing Free RAM: .............................done. (XEN) Initial low memory virq threshold set at 0x4000 pages. (XEN) Std. Loglevel: All
(XEN) Guest Loglevel: All
(XEN) Xen is relinquishing VGA console.
(XEN) *** Serial input -> DOM0 (type 'CTRL-a' three times to switch input to Xen)
(XEN) Freed 260kB init memory.
(XEN) PCI add device 0000:00:00.0
(XEN) PCI add device 0000:00:01.0
(XEN) PCI add device 0000:00:1a.0
(XEN) PCI add device 0000:00:1c.0
(XEN) PCI add device 0000:00:1d.0
(XEN) PCI add device 0000:00:1e.0
(XEN) PCI add device 0000:00:1f.0
(XEN) PCI add device 0000:00:1f.2
(XEN) PCI add device 0000:00:1f.3
(XEN) PCI add device 0000:01:00.0
(XEN) PCI add device 0000:02:02.0
(XEN) PCI add device 0000:02:04.0
(XEN) PCI add device 0000:03:00.0
(XEN) PCI add device 0000:03:00.1
(XEN) PCI add device 0000:04:00.0
(XEN) PCI add device 0000:04:00.1
(XEN) PCI add device 0000:05:00.0
(XEN) PCI add device 0000:05:00.1
(XEN) PCI add device 0000:06:03.0
(XEN) page_alloc.c:1460:d0 Over-allocation for domain 1: 262401 > 262400 (XEN) memory.c:158:d0 Could not allocate order=0 extent: id=1 memflags=0 (200 of 1024)
(d1) HVM Loader
(d1) Detected Xen v4.4-rc2
(d1) Xenbus rings @0xfeffc000, event channel 4
(d1) System requested SeaBIOS
(d1) CPU speed is 3093 MHz
(d1) Relocating guest memory for lowmem MMIO space disabled

Quoted 13 lines

Excerpt from /var/log/xen/*
qemu: hardware error: xen: failed to populate ram at 40050000

Quoted 6 lines · Konrad Rzeszutek Wilk
Quoted 5 lines · Mike Neiderhauser

I was able to compile and install xen4.4 RC3 on my host, however I am getting the error:

root@fiat:~/git/xen# xl list 
xc: error: Could not obtain handle on privileged command interface 

(2 =

Quoted 3 lines
Quoted 3 lines

No

Quoted 2 lines

such file or directory): Internal error
libxl: error: libxl.c:92:libxl_ctx_alloc: cannot open libxc handle:

No

Quoted 5 lines
Quoted 5 lines

such

Quoted 4 lines

file or directory
cannot init xl context

I've google searched for this and an article appears, but is not the

same

Quoted 7 lines
Quoted 7 lines
Quoted 1 line

(as far as I can tell). Running any xl command generates a similar

error.

Quoted 2 lines

What can I do to fix this?

You need to run the initscripts for Xen. I don't know what your distro

is,

Quoted 14 lines
Quoted 14 lines

but
they are usually put in /etc/init.d/rc.d/xen*

Quoted 8 lines

Regards

Quoted 1 line · Mike Neiderhauser

Much. Do I need to install from src or is there a package I can

install.

Quoted 1 line
Quoted 1 line
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines

Regards

Quoted 2 lines · Konrad Rzeszutek Wilk
Quoted 1 line · Mike Neiderhauser

I did not. I do not have the toolchain installed. I may have

time

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

later

Quoted 1 line

today to try the patch. Are there any specific instructions on

how

Quoted 4 lines
Quoted 4 lines

to

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 1 line

patch the src, compile and install?

There actually should be a new version of Xen 4.4-rcX which will

have

Quoted 10 lines
Quoted 10 lines

the

Quoted 9 lines
Quoted 9 lines
Quoted 9 lines

fix. That might be easier for you?

Quoted 8 lines

Regards

Quoted 1 line · Konrad Rzeszutek Wilk

On Thu, Feb 06, 2014 at 09:39:37AM -0500, Mike Neiderhauser

Quoted 7 lines · wrote:
Quoted 7 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

Hi all,

I am attempting to do a pci passthrough of an Intel ET card

(4x1G

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

NIC)

Quoted 2 lines
Quoted 2 lines

to a

Quoted 1 line

HVM. I have been attempting to resolve this issue on the

Quoted 8 lines
Quoted 8 lines

xen-users

Quoted 6 lines
Quoted 6 lines
Quoted 6 lines

list,

Quoted 1 line
Quoted 1 line
Quoted 1 line

but it was advised to post this issue to this list. (Initial

Message -

Quoted 2 lines
Quoted 2 lines
Quoted 1 line

http://lists.xenproject.org/archives/html/xen-users/2014-02/msg00036.html

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

)

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

The machine I am using as host is a Dell Poweredge server

with a

Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines

Xeon

Quoted 6 lines
Quoted 6 lines
Quoted 6 lines

E31220 with 4GB of ram.

The possible bug is the following:

root@fiat:/var/log/xen# cat qemu-dm-ubuntu-hvm-0.log 
char device redirected to /dev/pts/5 (label serial0) 
qemu: hardware error: xen: failed to populate ram at 

40030000

Quoted 7 lines
Quoted 7 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 5 lines
Quoted 5 lines
Quoted 4 lines

....

I believe it may be similar to this thread

http://markmail.org/message/3zuiojywempoorxj#query:+page:1+mid:gul34vbe4uyog2d4+state:results

Quoted 79 lines
Quoted 79 lines
Quoted 79 lines
Quoted 79 lines
Quoted 79 lines
Quoted 29 lines
Quoted 29 lines
Quoted 3 lines

Additional info that may be helpful is below.

Did you try the patch?

Quoted 24 lines

Please let me know if you need any additional information.

Thanks in advance for any help provided!
Regards

###########################################################

root@fiat:~# cat /etc/xen/ubuntu-hvm-0.cfg 
########################################################### 
# Configuration file for Xen HVM 

# HVM Name (as appears in 'xl list')
name="ubuntu-hvm-0"
# HVM Build settings (+ hardware)
#kernel = "/usr/lib/xen-4.3/boot/hvmloader"
builder='hvm'
device_model='qemu-dm'
memory=1024
vcpus=2

# Virtual Interface
# Network bridge to USB NIC
vif=['bridge=xenbr0']

Quoted 6 lines
Quoted 6 lines
Quoted 6 lines

################### PCI PASSTHROUGH ################### # PCI Permissive mode toggle
#pci_permissive=1

# All PCI Devices
#pci=['03:00.0', '03:00.1', '04:00.0', '04:00.1', '05:00.0',

'05:00.1']

Quoted 43 lines
Quoted 43 lines
Quoted 43 lines

# First two ports on Intel 4x1G NIC
#pci=['03:00.0','03:00.1']

# Last two ports on Intel 4x1G NIC
#pci=['04:00.0', '04:00.1']

# All ports on Intel 4x1G NIC
pci=['03:00.0', '03:00.1', '04:00.0', '04:00.1']

# Brodcom 2x1G NIC
#pci=['05:00.0', '05:00.1'] ################### PCI PASSTHROUGH ###################

# HVM Disks
# Hard disk only
# Boot from HDD first ('c')
boot="c"
disk=['phy:/dev/ubuntu-vg/ubuntu-hvm-0,hda,w']

# Hard disk with ISO
# Boot from ISO first ('d')
#boot="d" #disk=['phy:/dev/ubuntu-vg/ubuntu-hvm-0,hda,w', 'file:/root/ubuntu-12.04.3-server-amd64.iso,hdc:cdrom,r']

# ACPI Enable
acpi=1
# HVM Event Modes
on_poweroff='destroy'
on_reboot='restart'
on_crash='restart'

# Serial Console Configuration (Xen Console)
sdl=0
serial='pty'

# VNC Configuration
# Only reacable from localhost
vnc=1
vnclisten="0.0.0.0"
vncpasswd=""

Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines

###########################################################
Copied for xen-users list
###########################################################

It appears that it cannot obtain the RAM mapping for this

PCI

Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines

device.

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

I rebooted the Host. I ran assigned pci devices to

pciback. The

Quoted 37 lines
Quoted 37 lines
Quoted 37 lines
Quoted 37 lines
Quoted 37 lines

output

Quoted 36 lines
Quoted 36 lines
Quoted 36 lines

looks like:

root@fiat:~# ./dev_mgmt.sh 
Loading Kernel Module 'xen-pciback' 
Calling function pciback_dev for: 
PCI DEVICE 0000:03:00.0 
Unbinding 0000:03:00.0 from igb 
Binding 0000:03:00.0 to pciback 

PCI DEVICE 0000:03:00.1
Unbinding 0000:03:00.1 from igb
Binding 0000:03:00.1 to pciback

PCI DEVICE 0000:04:00.0
Unbinding 0000:04:00.0 from igb
Binding 0000:04:00.0 to pciback

PCI DEVICE 0000:04:00.1
Unbinding 0000:04:00.1 from igb
Binding 0000:04:00.1 to pciback

PCI DEVICE 0000:05:00.0
Unbinding 0000:05:00.0 from bnx2
Binding 0000:05:00.0 to pciback

PCI DEVICE 0000:05:00.1
Unbinding 0000:05:00.1 from bnx2
Binding 0000:05:00.1 to pciback

Listing PCI Devices Available to Xen
0000:03:00.0
0000:03:00.1
0000:04:00.0
0000:04:00.1
0000:05:00.0
0000:05:00.1

Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines

###########################################################

root@fiat:~# xl -vvv create /etc/xen/ubuntu-hvm-0.cfg 
Parsing config from /etc/xen/ubuntu-hvm-0.cfg 
WARNING: ignoring device_model directive. 
WARNING: Use "device_model_override" instead if you really 

want

Quoted 7 lines
Quoted 7 lines

a

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

non-default device_model
libxl: debug: libxl_create.c:1230:do_domain_create: ao

0x210c360:

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

create:

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

how=(nil) callback=(nil) poller=0x210c3c0
libxl: debug:

libxl_device.c:257:libxl__device_disk_set_backend:

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

Disk

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

vdev=hda spec.backend=unknown
libxl: debug:

libxl_device.c:296:libxl__device_disk_set_backend:

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

Disk

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

vdev=hda, using backend phy
libxl: debug: libxl_create.c:675:initiate_domain_create:

running

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

bootloader

Quoted 1 line

libxl: debug: libxl_bootloader.c:321:libxl__bootloader_run:

not

Quoted 3 lines
Quoted 3 lines

a PV

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

domain, skipping bootloader
libxl: debug:

libxl_event.c:608:libxl__ev_xswatch_deregister:

Quoted 3 lines
Quoted 3 lines

watch

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

w=0x210c728: deregister unregistered
libxl: debug: libxl_numa.c:475:libxl__get_numa_candidate:

New

Quoted 3 lines
Quoted 3 lines

best

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

NUMA

Quoted 1 line
Quoted 1 line
Quoted 1 line

placement candidate found: nr_nodes=1, nr_cpus=4,

nr_vcpus=3,

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

free_memkb=2980
libxl: detail: libxl_dom.c:195:numa_place_domain: NUMA

placement

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

candidate

Quoted 2 lines

with 1 nodes, 4 cpus and 2980 KB free selected
xc: detail: elf_parse_binary: phdr: paddr=0x100000

memsz=0xa69a4

Quoted 11 lines
Quoted 11 lines
Quoted 11 lines
Quoted 11 lines
Quoted 11 lines
Quoted 11 lines
Quoted 11 lines
Quoted 11 lines

xc: detail: elf_parse_binary: memory: 0x100000 -> 0x1a69a4
xc: info: VIRTUAL MEMORY ARRANGEMENT:
Loader: 0000000000100000->00000000001a69a4
Modules: 0000000000000000->0000000000000000
TOTAL: 0000000000000000->000000003f800000
ENTRY ADDRESS: 0000000000100608
xc: info: PHYSICAL MEMORY ALLOCATION:
4KB PAGES: 0x0000000000000200
2MB PAGES: 0x00000000000001fb
1GB PAGES: 0x0000000000000000
xc: detail: elf_load_binary: phdr 0 at 0x7f022c779000 ->

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

0x7f022c81682d

Quoted 1 line
Quoted 1 line
Quoted 1 line

libxl: debug:

libxl_device.c:257:libxl__device_disk_set_backend:

Quoted 5 lines
Quoted 5 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

Disk

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

vdev=hda spec.backend=phy
libxl: debug: libxl_event.c:559:libxl__ev_xswatch_register:

watch

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

w=0x2112f48 wpath=/local/domain/0/backend/vbd/2/768/state

Quoted 8 lines
Quoted 8 lines

token=3/0:

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

register slotnum=3
libxl: debug: libxl_create.c:1243:do_domain_create: ao

0x210c360:

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

inprogress: poller=0x210c3c0, flags=i
libxl: debug: libxl_event.c:503:watchfd_callback: watch

w=0x2112f48

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

wpath=/local/domain/0/backend/vbd/2/768/state token=3/0:

event

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

epath=/local/domain/0/backend/vbd/2/768/state
libxl: debug: libxl_event.c:647:devstate_watch_callback:

backend

Quoted 6 lines
Quoted 6 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

/local/domain/0/backend/vbd/2/768/state wanted state 2 still

waiting

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

state 1

Quoted 1 line

libxl: debug: libxl_event.c:503:watchfd_callback: watch

w=0x2112f48

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

wpath=/local/domain/0/backend/vbd/2/768/state token=3/0:

event

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

epath=/local/domain/0/backend/vbd/2/768/state
libxl: debug: libxl_event.c:643:devstate_watch_callback:

backend

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

/local/domain/0/backend/vbd/2/768/state wanted state 2 ok
libxl: debug:

libxl_event.c:596:libxl__ev_xswatch_deregister:

Quoted 5 lines
Quoted 5 lines

watch

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

w=0x2112f48 wpath=/local/domain/0/backend/vbd/2/768/state

token=3/0:

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

deregister slotnum=3
libxl: debug:

libxl_event.c:608:libxl__ev_xswatch_deregister:

Quoted 3 lines
Quoted 3 lines

watch

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

w=0x2112f48: deregister unregistered
libxl: debug: libxl_device.c:959:device_hotplug: calling

hotplug

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

script:

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

/etc/xen/scripts/block add
libxl: debug: libxl_dm.c:1206:libxl__spawn_local_dm:

Spawning

Quoted 8 lines
Quoted 8 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines

device-model

Quoted 4 lines

/usr/bin/qemu-system-i386 with arguments:
libxl: debug: libxl_dm.c:1208:libxl__spawn_local_dm:
/usr/bin/qemu-system-i386
libxl: debug: libxl_dm.c:1208:libxl__spawn_local_dm:

-xen-domid

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

libxl: debug: libxl_dm.c:1208:libxl__spawn_local_dm: 2
libxl: debug: libxl_dm.c:1208:libxl__spawn_local_dm:

-chardev

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

libxl: debug: libxl_dm.c:1208:libxl__spawn_local_dm:

socket,id=libxl-cmd,path=/var/run/xen/qmp-libxl-2,server,nowait

Quoted 11 lines
Quoted 11 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines

libxl: debug: libxl_dm.c:1208:libxl__spawn_local_dm: -mon
libxl: debug: libxl_dm.c:1208:libxl__spawn_local_dm:
chardev=libxl-cmd,mode=control
libxl: debug: libxl_dm.c:1208:libxl__spawn_local_dm: -name
libxl: debug: libxl_dm.c:1208:libxl__spawn_local_dm:

ubuntu-hvm-0

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

libxl: debug: libxl_dm.c:1208:libxl__spawn_local_dm: -vnc
libxl: debug: libxl_dm.c:1208:libxl__spawn_local_dm:

0.0.0.0:0

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

,to=99

Quoted 1 line
Quoted 1 line
Quoted 1 line

libxl: debug: libxl_dm.c:1208:libxl__spawn_local_dm:

-global

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line

libxl: debug: libxl_dm.c:1208:libxl__spawn_local_dm:

isa-fdc.driveA=

Quoted 1 line
Quoted 1 line
Quoted 1 line

libxl: debug: libxl_dm.c:1208:libxl__spawn_local_dm:

-serial

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

libxl: debug: libxl_dm.c:1208:libxl__spawn_local_dm: pty
libxl: debug: libxl_dm.c:1208:libxl__spawn_local_dm: -vga
libxl: debug: libxl_dm.c:1208:libxl__spawn_local_dm:

cirrus

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

libxl: debug: libxl_dm.c:1208:libxl__spawn_local_dm:

-global

Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line

libxl: debug: libxl_dm.c:1208:libxl__spawn_local_dm:

vga.vram_size_mb=8

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

libxl: debug: libxl_dm.c:1208:libxl__spawn_local_dm: -boot
libxl: debug: libxl_dm.c:1208:libxl__spawn_local_dm:

order=c

Quoted 4 lines
Quoted 4 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

libxl: debug: libxl_dm.c:1208:libxl__spawn_local_dm: -smp
libxl: debug: libxl_dm.c:1208:libxl__spawn_local_dm:

2,maxcpus=2

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

libxl: debug: libxl_dm.c:1208:libxl__spawn_local_dm:

-device

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

libxl: debug: libxl_dm.c:1208:libxl__spawn_local_dm:
rtl8139,id=nic0,netdev=net0,mac=00:16:3e:23:44:2c
libxl: debug: libxl_dm.c:1208:libxl__spawn_local_dm:

-netdev

Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines

libxl: debug: libxl_dm.c:1208:libxl__spawn_local_dm:
type=tap,id=net0,ifname=vif2.0-emu,script=no,downscript=no
libxl: debug: libxl_dm.c:1208:libxl__spawn_local_dm: -M
libxl: debug: libxl_dm.c:1208:libxl__spawn_local_dm: xenfv
libxl: debug: libxl_dm.c:1208:libxl__spawn_local_dm: -m
libxl: debug: libxl_dm.c:1208:libxl__spawn_local_dm: 1016
libxl: debug: libxl_dm.c:1208:libxl__spawn_local_dm:

-drive

Quoted 5 lines
Quoted 5 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 3 lines
Quoted 3 lines
Quoted 2 lines

libxl: debug: libxl_dm.c:1208:libxl__spawn_local_dm:

file=/dev/ubuntu-vg/ubuntu-hvm-0,if=ide,index=0,media=disk,format=raw,cache=writeback

Quoted 7 lines
Quoted 7 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

libxl: debug: libxl_event.c:559:libxl__ev_xswatch_register:

watch

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

w=0x210c960 wpath=/local/domain/0/device-model/2/state

token=3/1:

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

register

Quoted 2 lines

slotnum=3
libxl: debug: libxl_event.c:503:watchfd_callback: watch

Quoted 8 lines
Quoted 8 lines

w=0x210c960

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

wpath=/local/domain/0/device-model/2/state token=3/1: event epath=/local/domain/0/device-model/2/state
libxl: debug: libxl_event.c:503:watchfd_callback: watch

w=0x210c960

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

wpath=/local/domain/0/device-model/2/state token=3/1: event epath=/local/domain/0/device-model/2/state
libxl: debug:

libxl_event.c:596:libxl__ev_xswatch_deregister:

Quoted 5 lines
Quoted 5 lines

watch

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

w=0x210c960 wpath=/local/domain/0/device-model/2/state

token=3/1:

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

deregister slotnum=3
libxl: debug:

libxl_event.c:608:libxl__ev_xswatch_deregister:

Quoted 3 lines
Quoted 3 lines

watch

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

w=0x210c960: deregister unregistered
libxl: debug: libxl_qmp.c:707:libxl__qmp_initialize:

connected

Quoted 11 lines
Quoted 11 lines

to

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

/var/run/xen/qmp-libxl-2
libxl: debug: libxl_qmp.c:299:qmp_handle_response: message

type: qmp

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

libxl: debug: libxl_qmp.c:555:qmp_send_prepare: next qmp

command: '{

Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines

"execute": "qmp_capabilities",
"id": 1
}
'
libxl: debug: libxl_qmp.c:299:qmp_handle_response: message

type:

Quoted 8 lines
Quoted 8 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

return

Quoted 1 line
Quoted 1 line
Quoted 1 line

libxl: debug: libxl_qmp.c:555:qmp_send_prepare: next qmp

command: '{

Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines

"execute": "query-chardev",
"id": 2
}
'
libxl: debug: libxl_qmp.c:299:qmp_handle_response: message

type:

Quoted 13 lines
Quoted 13 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

return

Quoted 1 line
Quoted 1 line
Quoted 1 line

libxl: debug: libxl_qmp.c:555:qmp_send_prepare: next qmp

command: '{

Quoted 10 lines
Quoted 10 lines
Quoted 10 lines
Quoted 10 lines
Quoted 10 lines
Quoted 10 lines

"execute": "change",
"id": 3,
"arguments": {
"device": "vnc",
"target": "password",
"arg": ""
}
}
'
libxl: debug: libxl_qmp.c:299:qmp_handle_response: message

type:

Quoted 8 lines
Quoted 8 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

return

Quoted 1 line
Quoted 1 line
Quoted 1 line

libxl: debug: libxl_qmp.c:555:qmp_send_prepare: next qmp

command: '{

Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines

"execute": "query-vnc",
"id": 4
}
'
libxl: debug: libxl_qmp.c:299:qmp_handle_response: message

type:

Quoted 4 lines
Quoted 4 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

return

Quoted 1 line
Quoted 1 line
Quoted 1 line

libxl: debug: libxl_event.c:559:libxl__ev_xswatch_register:

watch

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

w=0x210e8a8 wpath=/local/domain/0/backend/vif/2/0/state

Quoted 8 lines
Quoted 8 lines

token=3/2:

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

register

Quoted 2 lines

slotnum=3
libxl: debug: libxl_event.c:503:watchfd_callback: watch

w=0x210e8a8

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

wpath=/local/domain/0/backend/vif/2/0/state token=3/2: event epath=/local/domain/0/backend/vif/2/0/state
libxl: debug: libxl_event.c:647:devstate_watch_callback:

backend

Quoted 9 lines
Quoted 9 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

/local/domain/0/backend/vif/2/0/state wanted state 2 still

waiting

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

state

Quoted 2 lines
Quoted 2 lines

1

Quoted 1 line

libxl: debug: libxl_event.c:503:watchfd_callback: watch

w=0x210e8a8

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

wpath=/local/domain/0/backend/vif/2/0/state token=3/2: event epath=/local/domain/0/backend/vif/2/0/state
libxl: debug: libxl_event.c:643:devstate_watch_callback:

backend

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

/local/domain/0/backend/vif/2/0/state wanted state 2 ok
libxl: debug:

libxl_event.c:596:libxl__ev_xswatch_deregister:

Quoted 5 lines
Quoted 5 lines

watch

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

w=0x210e8a8 wpath=/local/domain/0/backend/vif/2/0/state

token=3/2:

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

deregister slotnum=3
libxl: debug:

libxl_event.c:608:libxl__ev_xswatch_deregister:

Quoted 3 lines
Quoted 3 lines

watch

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

w=0x210e8a8: deregister unregistered
libxl: debug: libxl_device.c:959:device_hotplug: calling

hotplug

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

script:

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

/etc/xen/scripts/vif-bridge online
libxl: debug: libxl_device.c:959:device_hotplug: calling

hotplug

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

script:

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

/etc/xen/scripts/vif-bridge add
libxl: debug: libxl_qmp.c:707:libxl__qmp_initialize:

connected

Quoted 11 lines
Quoted 11 lines

to

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

/var/run/xen/qmp-libxl-2
libxl: debug: libxl_qmp.c:299:qmp_handle_response: message

type: qmp

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

libxl: debug: libxl_qmp.c:555:qmp_send_prepare: next qmp

command: '{

Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines

"execute": "qmp_capabilities",
"id": 1
}
'
libxl: debug: libxl_qmp.c:299:qmp_handle_response: message

type:

Quoted 13 lines
Quoted 13 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

return

Quoted 1 line
Quoted 1 line
Quoted 1 line

libxl: debug: libxl_qmp.c:555:qmp_send_prepare: next qmp

command: '{

Quoted 10 lines
Quoted 10 lines
Quoted 10 lines
Quoted 10 lines
Quoted 10 lines
Quoted 10 lines

"execute": "device_add",
"id": 2,
"arguments": {
"driver": "xen-pci-passthrough",
"id": "pci-pt-03_00.0",
"hostaddr": "0000:03:00.0"
}
}
'
libxl: error: libxl_qmp.c:454:qmp_next: Socket read error:

Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines

Connection

Quoted 3 lines
Quoted 3 lines

reset

Quoted 2 lines

by peer
libxl: error: libxl_qmp.c:702:libxl__qmp_initialize:

Connection

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

error:

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

Connection refused
libxl: error: libxl_qmp.c:702:libxl__qmp_initialize:

Connection

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

error:

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

Connection refused
libxl: error: libxl_qmp.c:702:libxl__qmp_initialize:

Connection

Quoted 6 lines
Quoted 6 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

error:

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

Connection refused
libxl: debug: libxl_pci.c:81:libxl__create_pci_backend:

Creating pci

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

backend

Quoted 1 line

libxl: debug: libxl_event.c:1737:libxl__ao_progress_report:

ao

Quoted 7 lines
Quoted 7 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

0x210c360:

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

progress report: ignored
libxl: debug: libxl_event.c:1569:libxl__ao_complete: ao

0x210c360:

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

complete, rc=0
libxl: debug: libxl_event.c:1541:libxl__ao__destroy: ao

0x210c360:

Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 3 lines
Quoted 3 lines

destroy

Quoted 2 lines

Daemon running with PID 3214
xc: debug: hypercall buffer: total allocations:793 total

releases:793

Quoted 1 line
Quoted 1 line
Quoted 1 line

xc: debug: hypercall buffer: current allocations:0 maximum

allocations:4

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

xc: debug: hypercall buffer: cache current size:4
xc: debug: hypercall buffer: cache hits:785 misses:4

toobig:4

Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines

###########################################################

root@fiat:/var/log/xen# cat qemu-dm-ubuntu-hvm-0.log 
char device redirected to /dev/pts/5 (label serial0) 
qemu: hardware error: xen: failed to populate ram at 

40030000

Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines

CPU #0:
EAX=00000000 EBX=00000000 ECX=00000000 EDX=00000633 ESI=00000000 EDI=00000000 EBP=00000000 ESP=00000000 EIP=0000fff0 EFL=00000002 [-------] CPL=0 II=0 A20=1 SMM=0

HLT=1

Quoted 23 lines
Quoted 23 lines
Quoted 23 lines
Quoted 23 lines
Quoted 23 lines
Quoted 23 lines
Quoted 23 lines
Quoted 23 lines

ES =0000 00000000 0000ffff 00009300
CS =f000 ffff0000 0000ffff 00009b00
SS =0000 00000000 0000ffff 00009300
DS =0000 00000000 0000ffff 00009300
FS =0000 00000000 0000ffff 00009300
GS =0000 00000000 0000ffff 00009300
LDT=0000 00000000 0000ffff 00008200
TR =0000 00000000 0000ffff 00008b00
GDT= 00000000 0000ffff
IDT= 00000000 0000ffff
CR0=60000010 CR2=00000000 CR3=00000000 CR4=00000000 DR0=00000000 DR1=00000000 DR2=00000000 DR3=00000000 DR6=ffff0ff0 DR7=00000400 EFER=0000000000000000
FCW=037f FSW=0000 [ST=0] FTW=00 MXCSR=00001f80 FPR0=0000000000000000 0000 FPR1=0000000000000000 0000 FPR2=0000000000000000 0000 FPR3=0000000000000000 0000 FPR4=0000000000000000 0000 FPR5=0000000000000000 0000 FPR6=0000000000000000 0000 FPR7=0000000000000000 0000 XMM00=00000000000000000000000000000000 XMM01=00000000000000000000000000000000 XMM02=00000000000000000000000000000000 XMM03=00000000000000000000000000000000

Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines

XMM04=00000000000000000000000000000000 XMM05=00000000000000000000000000000000 XMM06=00000000000000000000000000000000 XMM07=00000000000000000000000000000000
CPU #1:
EAX=00000000 EBX=00000000 ECX=00000000 EDX=00000633 ESI=00000000 EDI=00000000 EBP=00000000 ESP=00000000 EIP=0000fff0 EFL=00000002 [-------] CPL=0 II=0 A20=1 SMM=0

HLT=1

Quoted 28 lines
Quoted 28 lines
Quoted 28 lines
Quoted 28 lines
Quoted 28 lines
Quoted 28 lines
Quoted 28 lines
Quoted 28 lines

ES =0000 00000000 0000ffff 00009300
CS =f000 ffff0000 0000ffff 00009b00
SS =0000 00000000 0000ffff 00009300
DS =0000 00000000 0000ffff 00009300
FS =0000 00000000 0000ffff 00009300
GS =0000 00000000 0000ffff 00009300
LDT=0000 00000000 0000ffff 00008200
TR =0000 00000000 0000ffff 00008b00
GDT= 00000000 0000ffff
IDT= 00000000 0000ffff
CR0=60000010 CR2=00000000 CR3=00000000 CR4=00000000 DR0=00000000 DR1=00000000 DR2=00000000 DR3=00000000 DR6=ffff0ff0 DR7=00000400 EFER=0000000000000000
FCW=037f FSW=0000 [ST=0] FTW=00 MXCSR=00001f80 FPR0=0000000000000000 0000 FPR1=0000000000000000 0000 FPR2=0000000000000000 0000 FPR3=0000000000000000 0000 FPR4=0000000000000000 0000 FPR5=0000000000000000 0000 FPR6=0000000000000000 0000 FPR7=0000000000000000 0000 XMM00=00000000000000000000000000000000 XMM01=00000000000000000000000000000000 XMM02=00000000000000000000000000000000 XMM03=00000000000000000000000000000000 XMM04=00000000000000000000000000000000 XMM05=00000000000000000000000000000000 XMM06=00000000000000000000000000000000 XMM07=00000000000000000000000000000000

Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines

###########################################################
/etc/default/grub
GRUB_DEFAULT="Xen 4.3-amd64" GRUB_HIDDEN_TIMEOUT=0 GRUB_HIDDEN_TIMEOUT_QUIET=true
GRUB_TIMEOUT=10
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo

Debian`

Quoted 15 lines
Quoted 15 lines
Quoted 14 lines
Quoted 14 lines
Quoted 12 lines
Quoted 11 lines
Quoted 11 lines
Quoted 9 lines

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash" GRUB_CMDLINE_LINUX=""
# biosdevname=0 GRUB_CMDLINE_XEN="dom0_mem=1024M dom0_max_vcpus=1"

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel

#1 lore raw

I will give it a shot. Thanks!

Quoted 47 lines · Konrad Wilk
Quoted 2 lines · ----- [email protected] wrote:

I followed this site (

http://wiki.xenproject.org/wiki/Xen_4.4_RC3_test_instructions).
and then followed (http://wiki.xen.org/wiki/Compiling_Xen_From_Source)

Quoted 1 line

Ah, so you are looking for the xen_pt: Fix passthrough of device with
ROM.
which is not in the Xen 4.4-rc3 but in the master.

One thing you can do is:

cd xen/tools/qemu-xen-dir
git fetch upstream
git checkout origin/master
[you should see: "HEAD is now at 027c412... configure: Disable libtool if -fPIE does not work with it (bug #1257099)"]

Go back to main xen directory:
cd ../../../
./configure
make
make install

and you should be using now an newer version of QEMU with the fix.

Quoted 1 line

git clone -b 4.4.0-rc3 git://xenbits.xen.org/xen.git

Quoted 1 line

Had to take some additional steps here to get all of the libs

# apt-get install build-essential # apt-get install bcc bin86 gawk bridge-utils iproute libcurl3 libcurl4-openssl-dev bzip2 module-init-tools transfig tgif # apt-get install texinfo texlive-latex-base texlive-latex-recommended texlive-fonts-extra texlive-fonts-recommended pciutils-dev mercurial# apt-get install make gcc libc6-dev zlib1g-dev python python-dev python-twisted libncurses5-dev patch libvncserver-dev libsdl-dev libjpeg62-dev# apt-get install iasl libbz2-dev e2fslibs-dev git-core uuid-dev ocaml ocaml-findlib libx11-dev bison flex xz-utils libyajl-dev# apt-get install gettext
apt-get install libaio-dev
apt-get install libpixman-1-dev

./configure
make dist
make install

Quoted 3 lines
Quoted 906 lines
Quoted 1 line

On Fri, Feb 7, 2014 at 4:49 PM, Konrad Rzeszutek Wilk <

Quoted 903 lines · [email protected]> wrote:
Quoted 7 lines · Mike Neiderhauser
Quoted 2 lines

I did not use the patch. I was assuming it was already patched given previous email. Is the patch for qemu source or xen source?

It is for QEMU, but you are right - it should have been part

Quoted 22 lines

of QEMU if you got the latest version of Xen-unstable.

You didn't use some specific tag but just 'staging' ?

Quoted 16 lines
Quoted 11 lines · Konrad Rzeszutek Wilk
Quoted 4 lines · Mike Neiderhauser

Ok. I started ran the initscripts and now xl works.

However, I still see the same behavior as before:

Did you use the patch that was mentioned in the URL?

Quoted 3 lines
root@fiat:~# xl create /etc/xen/ubuntu-hvm-0.cfg
Parsing config from /etc/xen/ubuntu-hvm-0.cfg
libxl: error: libxl_qmp.c:448:qmp_next: Socket read error:

Connection

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

reset

Quoted 2 lines

by peer
libxl: error: libxl_qmp.c:691:libxl__qmp_initialize: Connection

error:

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

Connection refused
libxl: error: libxl_qmp.c:691:libxl__qmp_initialize: Connection

error:

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

Connection refused
libxl: error: libxl_qmp.c:691:libxl__qmp_initialize: Connection

error:

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

Connection refused

root@fiat:~# xl list
Name                                        ID   Mem VCPUs State

Time(s)

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

Domain-0 0 1024 1

r-----

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

15.2
ubuntu-hvm-0 1 1025 1

------

Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines

0.0

(XEN) Dom0 kernel: 64-bit, PAE, lsb, paddr 0x1000000 -> 0x23f3000 (XEN) PHYSICAL MEMORY ARRANGEMENT:
(XEN) Dom0 alloc.: 0000000134000000->0000000138000000 (233690

pages to

Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines

be allocated)
(XEN) Init. ramdisk: 000000013d0da000->000000013ffffe00 (XEN) VIRTUAL MEMORY ARRANGEMENT:
(XEN) Loaded kernel: ffffffff81000000->ffffffff823f3000 (XEN) Init. ramdisk: ffffffff823f3000->ffffffff85318e00

Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
(XEN)  Phys-Mach map: ffffffff85319000->ffffffff85519000
(XEN)  Start info:    ffffffff85519000->ffffffff855194b4
(XEN)  Page tables:   ffffffff8551a000->ffffffff85549000
(XEN)  Boot stack:    ffffffff85549000->ffffffff8554a000
(XEN)  TOTAL:         ffffffff80000000->ffffffff85800000
(XEN)  ENTRY ADDRESS: ffffffff81d261e0

(XEN) Dom0 has maximum 1 VCPUs
(XEN) elf_load_binary: phdr 0 at 0xffffffff81000000 ->

0xffffffff81b2f000

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

(XEN) elf_load_binary: phdr 1 at 0xffffffff81c00000 ->

0xffffffff81d0f0f0

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

(XEN) elf_load_binary: phdr 2 at 0xffffffff81d10000 ->

0xffffffff81d252c0

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

(XEN) elf_load_binary: phdr 3 at 0xffffffff81d26000 ->

0xffffffff81e6d000

Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines

(XEN) Scrubbing Free RAM: .............................done. (XEN) Initial low memory virq threshold set at 0x4000 pages. (XEN) Std. Loglevel: All
(XEN) Guest Loglevel: All
(XEN) Xen is relinquishing VGA console.
(XEN) *** Serial input -> DOM0 (type 'CTRL-a' three times to

switch input

Quoted 14 lines
Quoted 14 lines
Quoted 14 lines
Quoted 14 lines

to Xen)
(XEN) Freed 260kB init memory.
(XEN) PCI add device 0000:00:00.0
(XEN) PCI add device 0000:00:01.0
(XEN) PCI add device 0000:00:1a.0
(XEN) PCI add device 0000:00:1c.0
(XEN) PCI add device 0000:00:1d.0
(XEN) PCI add device 0000:00:1e.0
(XEN) PCI add device 0000:00:1f.0
(XEN) PCI add device 0000:00:1f.2
(XEN) PCI add device 0000:00:1f.3
(XEN) PCI add device 0000:01:00.0
(XEN) PCI add device 0000:02:02.0
(XEN) PCI add device 0000:02:04.0

Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines

(XEN) PCI add device 0000:03:00.0
(XEN) PCI add device 0000:03:00.1
(XEN) PCI add device 0000:04:00.0
(XEN) PCI add device 0000:04:00.1
(XEN) PCI add device 0000:05:00.0
(XEN) PCI add device 0000:05:00.1
(XEN) PCI add device 0000:06:03.0
(XEN) page_alloc.c:1460:d0 Over-allocation for domain 1: 262401 >

262400

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

(XEN) memory.c:158:d0 Could not allocate order=0 extent: id=1

memflags=0

Quoted 17 lines
Quoted 17 lines
Quoted 17 lines
Quoted 17 lines

(200 of 1024)
(d1) HVM Loader
(d1) Detected Xen v4.4-rc2
(d1) Xenbus rings @0xfeffc000, event channel 4 (d1) System requested SeaBIOS
(d1) CPU speed is 3093 MHz
(d1) Relocating guest memory for lowmem MMIO space disabled

Excerpt from /var/log/xen/*
qemu: hardware error: xen: failed to populate ram at 40050000

Quoted 1 line · Konrad Rzeszutek Wilk

On Fri, Feb 07, 2014 at 03:36:49PM -0500, Mike Neiderhauser

Quoted 1 line · wrote:
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

I was able to compile and install xen4.4 RC3 on my host,

however I am

Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines

getting the error:

root@fiat:~/git/xen# xl list
xc: error: Could not obtain handle on privileged command

interface

Quoted 4 lines
Quoted 4 lines
Quoted 4 lines

(2 =

Quoted 3 lines
Quoted 3 lines

No

Quoted 2 lines

such file or directory): Internal error
libxl: error: libxl.c:92:libxl_ctx_alloc: cannot open libxc

handle:

Quoted 6 lines
Quoted 6 lines
Quoted 6 lines

No

Quoted 5 lines
Quoted 5 lines

such

Quoted 4 lines

file or directory
cannot init xl context

I've google searched for this and an article appears, but is

not the

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

same

Quoted 1 line
Quoted 1 line
Quoted 1 line

(as far as I can tell). Running any xl command generates a

similar

Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines

error.

Quoted 2 lines

What can I do to fix this?

You need to run the initscripts for Xen. I don't know what your

distro

Quoted 6 lines
Quoted 6 lines
Quoted 6 lines

is,

Quoted 5 lines
Quoted 5 lines

but
they are usually put in /etc/init.d/rc.d/xen*

Quoted 1 line
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines

Regards

Quoted 1 line · Mike Neiderhauser

Much. Do I need to install from src or is there a package I

can

Quoted 9 lines
Quoted 9 lines
Quoted 9 lines
Quoted 9 lines
Quoted 9 lines

install.

Quoted 8 lines
Quoted 8 lines

Regards

Quoted 1 line · Konrad Rzeszutek Wilk

On Fri, Feb 07, 2014 at 10:53:22AM -0500, Mike

Quoted 1 line · Neiderhauser
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

I did not. I do not have the toolchain installed. I

may have

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

time

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

later

Quoted 1 line

today to try the patch. Are there any specific

instructions on

Quoted 5 lines
Quoted 5 lines
Quoted 5 lines

how

Quoted 4 lines
Quoted 4 lines

to

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 1 line

patch the src, compile and install?

There actually should be a new version of Xen 4.4-rcX

which will

Quoted 11 lines
Quoted 11 lines
Quoted 11 lines

have

Quoted 10 lines
Quoted 10 lines

the

Quoted 9 lines
Quoted 9 lines
Quoted 9 lines

fix. That might be easier for you?

Quoted 8 lines

Regards

Quoted 1 line · Konrad Rzeszutek Wilk

On Thu, Feb 06, 2014 at 09:39:37AM -0500, Mike

Neiderhauser

Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 3 lines · wrote:
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

Hi all,

I am attempting to do a pci passthrough of an Intel

ET card

Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines

(4x1G

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

NIC)

Quoted 2 lines
Quoted 2 lines

to a

Quoted 1 line

HVM. I have been attempting to resolve this issue

on the

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

xen-users

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

list,

Quoted 1 line
Quoted 1 line
Quoted 1 line

but it was advised to post this issue to this list.

(Initial

Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 5 lines
Quoted 5 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines

Message -

Quoted 2 lines
Quoted 2 lines
Quoted 1 line

http://lists.xenproject.org/archives/html/xen-users/2014-02/msg00036.html

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

)

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

The machine I am using as host is a Dell Poweredge

server

Quoted 9 lines
Quoted 9 lines
Quoted 9 lines

with a

Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines

Xeon

Quoted 6 lines
Quoted 6 lines
Quoted 6 lines

E31220 with 4GB of ram.

The possible bug is the following:
root@fiat:/var/log/xen# cat qemu-dm-ubuntu-hvm-0.log
char device redirected to /dev/pts/5 (label serial0)
qemu: hardware error: xen: failed to populate ram at

40030000

Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 7 lines
Quoted 7 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 5 lines
Quoted 5 lines
Quoted 4 lines

....

I believe it may be similar to this thread

http://markmail.org/message/3zuiojywempoorxj#query:+page:1+mid:gul34vbe4uyog2d4+state:results

Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 3 lines

Additional info that may be helpful is below.

Did you try the patch?

Quoted 2 lines

Please let me know if you need any additional

information.

Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines

Thanks in advance for any help provided!
Regards

###########################################################

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

root@fiat:~# cat /etc/xen/ubuntu-hvm-0.cfg

###########################################################

Quoted 11 lines
Quoted 11 lines
Quoted 11 lines
Quoted 11 lines
Quoted 11 lines
Quoted 11 lines
Quoted 11 lines
Quoted 11 lines
Quoted 11 lines
Quoted 11 lines
Quoted 11 lines

# Configuration file for Xen HVM

# HVM Name (as appears in 'xl list')
name="ubuntu-hvm-0"
# HVM Build settings (+ hardware)
#kernel = "/usr/lib/xen-4.3/boot/hvmloader"
builder='hvm'
device_model='qemu-dm'
memory=1024
vcpus=2

Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines

# Virtual Interface
# Network bridge to USB NIC
vif=['bridge=xenbr0']

################### PCI PASSTHROUGH

###################

Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines

# PCI Permissive mode toggle
#pci_permissive=1

# All PCI Devices
#pci=['03:00.0', '03:00.1', '04:00.0', '04:00.1',

'05:00.0',

Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines

'05:00.1']

Quoted 7 lines
Quoted 7 lines
Quoted 7 lines

# First two ports on Intel 4x1G NIC
#pci=['03:00.0','03:00.1']

# Last two ports on Intel 4x1G NIC
#pci=['04:00.0', '04:00.1']

Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines

# All ports on Intel 4x1G NIC
pci=['03:00.0', '03:00.1', '04:00.0', '04:00.1']

# Brodcom 2x1G NIC
#pci=['05:00.0', '05:00.1']
################### PCI PASSTHROUGH

###################

Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines

# HVM Disks
# Hard disk only
# Boot from HDD first ('c')
boot="c"
disk=['phy:/dev/ubuntu-vg/ubuntu-hvm-0,hda,w']

Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines

# Hard disk with ISO
# Boot from ISO first ('d')
#boot="d"
#disk=['phy:/dev/ubuntu-vg/ubuntu-hvm-0,hda,w',

'file:/root/ubuntu-12.04.3-server-amd64.iso,hdc:cdrom,r']

Quoted 12 lines
Quoted 12 lines
Quoted 12 lines
Quoted 12 lines
Quoted 12 lines
Quoted 12 lines
Quoted 12 lines
Quoted 12 lines
Quoted 12 lines
Quoted 12 lines
Quoted 12 lines

# ACPI Enable
acpi=1
# HVM Event Modes
on_poweroff='destroy'
on_reboot='restart'
on_crash='restart'

# Serial Console Configuration (Xen Console)
sdl=0
serial='pty'

Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines

# VNC Configuration
# Only reacable from localhost
vnc=1
vnclisten="0.0.0.0"
vncpasswd=""

###########################################################

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

Copied for xen-users list

###########################################################

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

It appears that it cannot obtain the RAM mapping for

this

Quoted 35 lines
Quoted 35 lines
Quoted 35 lines

PCI

Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines

device.

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

I rebooted the Host. I ran assigned pci devices to

pciback. The

Quoted 29 lines
Quoted 29 lines
Quoted 29 lines
Quoted 29 lines
Quoted 29 lines

output

Quoted 28 lines
Quoted 28 lines
Quoted 28 lines

looks like:
root@fiat:~# ./dev_mgmt.sh
Loading Kernel Module 'xen-pciback'
Calling function pciback_dev for:
PCI DEVICE 0000:03:00.0
Unbinding 0000:03:00.0 from igb
Binding 0000:03:00.0 to pciback

PCI DEVICE 0000:03:00.1
Unbinding 0000:03:00.1 from igb
Binding 0000:03:00.1 to pciback

PCI DEVICE 0000:04:00.0
Unbinding 0000:04:00.0 from igb
Binding 0000:04:00.0 to pciback

PCI DEVICE 0000:04:00.1
Unbinding 0000:04:00.1 from igb
Binding 0000:04:00.1 to pciback

PCI DEVICE 0000:05:00.0
Unbinding 0000:05:00.0 from bnx2
Binding 0000:05:00.0 to pciback

PCI DEVICE 0000:05:00.1
Unbinding 0000:05:00.1 from bnx2
Binding 0000:05:00.1 to pciback

Quoted 9 lines
Quoted 9 lines
Quoted 9 lines
Quoted 9 lines
Quoted 9 lines
Quoted 9 lines
Quoted 9 lines
Quoted 9 lines
Quoted 9 lines
Quoted 9 lines
Quoted 9 lines

Listing PCI Devices Available to Xen
0000:03:00.0
0000:03:00.1
0000:04:00.0
0000:04:00.1
0000:05:00.0
0000:05:00.1

###########################################################

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

root@fiat:~# xl -vvv create

/etc/xen/ubuntu-hvm-0.cfg

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

Parsing config from /etc/xen/ubuntu-hvm-0.cfg
WARNING: ignoring device_model directive.
WARNING: Use "device_model_override" instead if you

really

Quoted 4 lines
Quoted 4 lines
Quoted 4 lines

want

Quoted 3 lines
Quoted 3 lines

a

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

non-default device_model
libxl: debug: libxl_create.c:1230:do_domain_create:

ao

Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines

0x210c360:

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

create:

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

how=(nil) callback=(nil) poller=0x210c3c0
libxl: debug:

Quoted 8 lines
Quoted 8 lines
Quoted 8 lines

libxl_device.c:257:libxl__device_disk_set_backend:

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

Disk

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

vdev=hda spec.backend=unknown
libxl: debug:

libxl_device.c:296:libxl__device_disk_set_backend:

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

Disk

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

vdev=hda, using backend phy
libxl: debug:

libxl_create.c:675:initiate_domain_create:

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

running

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

bootloader

Quoted 1 line

libxl: debug:

libxl_bootloader.c:321:libxl__bootloader_run:

Quoted 8 lines
Quoted 8 lines
Quoted 8 lines

not

Quoted 3 lines
Quoted 3 lines

a PV

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

domain, skipping bootloader
libxl: debug:

libxl_event.c:608:libxl__ev_xswatch_deregister:

Quoted 3 lines
Quoted 3 lines

watch

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

w=0x210c728: deregister unregistered
libxl: debug:

libxl_numa.c:475:libxl__get_numa_candidate:

Quoted 7 lines
Quoted 7 lines
Quoted 7 lines

New

Quoted 3 lines
Quoted 3 lines

best

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

NUMA

Quoted 1 line
Quoted 1 line
Quoted 1 line

placement candidate found: nr_nodes=1, nr_cpus=4,

nr_vcpus=3,

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

free_memkb=2980
libxl: detail: libxl_dom.c:195:numa_place_domain:

NUMA

Quoted 6 lines
Quoted 6 lines
Quoted 6 lines

placement

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

candidate

Quoted 2 lines

with 1 nodes, 4 cpus and 2980 KB free selected
xc: detail: elf_parse_binary: phdr: paddr=0x100000

memsz=0xa69a4

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

xc: detail: elf_parse_binary: memory: 0x100000 ->

0x1a69a4

Quoted 10 lines
Quoted 10 lines
Quoted 10 lines
Quoted 10 lines
Quoted 10 lines
Quoted 10 lines
Quoted 10 lines
Quoted 10 lines
Quoted 10 lines
Quoted 10 lines
Quoted 10 lines

xc: info: VIRTUAL MEMORY ARRANGEMENT:
Loader: 0000000000100000->00000000001a69a4
Modules: 0000000000000000->0000000000000000
TOTAL: 0000000000000000->000000003f800000
ENTRY ADDRESS: 0000000000100608
xc: info: PHYSICAL MEMORY ALLOCATION:
4KB PAGES: 0x0000000000000200
2MB PAGES: 0x00000000000001fb
1GB PAGES: 0x0000000000000000
xc: detail: elf_load_binary: phdr 0 at

0x7f022c779000 ->

Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

0x7f022c81682d

Quoted 1 line
Quoted 1 line
Quoted 1 line

libxl: debug:

libxl_device.c:257:libxl__device_disk_set_backend:

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

Disk

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

vdev=hda spec.backend=phy
libxl: debug:

libxl_event.c:559:libxl__ev_xswatch_register:

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

watch

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

w=0x2112f48

wpath=/local/domain/0/backend/vbd/2/768/state

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

token=3/0:

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

register slotnum=3
libxl: debug: libxl_create.c:1243:do_domain_create:

ao

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

0x210c360:

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

inprogress: poller=0x210c3c0, flags=i
libxl: debug: libxl_event.c:503:watchfd_callback:

watch

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

w=0x2112f48

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

wpath=/local/domain/0/backend/vbd/2/768/state

token=3/0:

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

event

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

epath=/local/domain/0/backend/vbd/2/768/state
libxl: debug:

libxl_event.c:647:devstate_watch_callback:

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

backend

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

/local/domain/0/backend/vbd/2/768/state wanted state

2 still

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

waiting

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

state 1

Quoted 1 line

libxl: debug: libxl_event.c:503:watchfd_callback:

watch

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

w=0x2112f48

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

wpath=/local/domain/0/backend/vbd/2/768/state

token=3/0:

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

event

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

epath=/local/domain/0/backend/vbd/2/768/state
libxl: debug:

libxl_event.c:643:devstate_watch_callback:

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

backend

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

/local/domain/0/backend/vbd/2/768/state wanted state

2 ok

Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

libxl: debug:

libxl_event.c:596:libxl__ev_xswatch_deregister:

Quoted 2 lines
Quoted 2 lines

watch

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

w=0x2112f48

wpath=/local/domain/0/backend/vbd/2/768/state

Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 3 lines
Quoted 3 lines

token=3/0:

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

deregister slotnum=3
libxl: debug:

libxl_event.c:608:libxl__ev_xswatch_deregister:

Quoted 3 lines
Quoted 3 lines

watch

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

w=0x2112f48: deregister unregistered
libxl: debug: libxl_device.c:959:device_hotplug:

calling

Quoted 4 lines
Quoted 4 lines
Quoted 4 lines

hotplug

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

script:

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

/etc/xen/scripts/block add
libxl: debug: libxl_dm.c:1206:libxl__spawn_local_dm:

Quoted 8 lines
Quoted 8 lines
Quoted 8 lines

Spawning

Quoted 7 lines
Quoted 7 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines

device-model

Quoted 4 lines

/usr/bin/qemu-system-i386 with arguments:
libxl: debug: libxl_dm.c:1208:libxl__spawn_local_dm:
/usr/bin/qemu-system-i386
libxl: debug: libxl_dm.c:1208:libxl__spawn_local_dm:

-xen-domid

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

libxl: debug: libxl_dm.c:1208:libxl__spawn_local_dm:

2

Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

libxl: debug: libxl_dm.c:1208:libxl__spawn_local_dm:

-chardev

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

libxl: debug: libxl_dm.c:1208:libxl__spawn_local_dm:

socket,id=libxl-cmd,path=/var/run/xen/qmp-libxl-2,server,nowait

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

libxl: debug: libxl_dm.c:1208:libxl__spawn_local_dm:

-mon

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

libxl: debug: libxl_dm.c:1208:libxl__spawn_local_dm:
chardev=libxl-cmd,mode=control
libxl: debug: libxl_dm.c:1208:libxl__spawn_local_dm:

-name

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

libxl: debug: libxl_dm.c:1208:libxl__spawn_local_dm:

ubuntu-hvm-0

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

libxl: debug: libxl_dm.c:1208:libxl__spawn_local_dm:

-vnc

Quoted 10 lines
Quoted 10 lines
Quoted 10 lines
Quoted 4 lines
Quoted 4 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

libxl: debug: libxl_dm.c:1208:libxl__spawn_local_dm:

0.0.0.0:0

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

,to=99

Quoted 1 line
Quoted 1 line
Quoted 1 line

libxl: debug: libxl_dm.c:1208:libxl__spawn_local_dm:

-global

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line

libxl: debug: libxl_dm.c:1208:libxl__spawn_local_dm:

isa-fdc.driveA=

Quoted 1 line
Quoted 1 line
Quoted 1 line

libxl: debug: libxl_dm.c:1208:libxl__spawn_local_dm:

-serial

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

libxl: debug: libxl_dm.c:1208:libxl__spawn_local_dm:

pty

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

libxl: debug: libxl_dm.c:1208:libxl__spawn_local_dm:

-vga

Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

libxl: debug: libxl_dm.c:1208:libxl__spawn_local_dm:

cirrus

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

libxl: debug: libxl_dm.c:1208:libxl__spawn_local_dm:

-global

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line

libxl: debug: libxl_dm.c:1208:libxl__spawn_local_dm:

vga.vram_size_mb=8

Quoted 1 line
Quoted 1 line
Quoted 1 line

libxl: debug: libxl_dm.c:1208:libxl__spawn_local_dm:

-boot

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

libxl: debug: libxl_dm.c:1208:libxl__spawn_local_dm:

order=c

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

libxl: debug: libxl_dm.c:1208:libxl__spawn_local_dm:

-smp

Quoted 10 lines
Quoted 10 lines
Quoted 10 lines
Quoted 3 lines
Quoted 3 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

libxl: debug: libxl_dm.c:1208:libxl__spawn_local_dm:

2,maxcpus=2

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

libxl: debug: libxl_dm.c:1208:libxl__spawn_local_dm:

-device

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

libxl: debug: libxl_dm.c:1208:libxl__spawn_local_dm:
rtl8139,id=nic0,netdev=net0,mac=00:16:3e:23:44:2c
libxl: debug: libxl_dm.c:1208:libxl__spawn_local_dm:

-netdev

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

libxl: debug: libxl_dm.c:1208:libxl__spawn_local_dm:

type=tap,id=net0,ifname=vif2.0-emu,script=no,downscript=no

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

libxl: debug: libxl_dm.c:1208:libxl__spawn_local_dm:

-M

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

libxl: debug: libxl_dm.c:1208:libxl__spawn_local_dm:

xenfv

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

libxl: debug: libxl_dm.c:1208:libxl__spawn_local_dm:

-m

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

libxl: debug: libxl_dm.c:1208:libxl__spawn_local_dm:

1016

Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

libxl: debug: libxl_dm.c:1208:libxl__spawn_local_dm:

-drive

Quoted 5 lines
Quoted 5 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 3 lines
Quoted 3 lines
Quoted 2 lines

libxl: debug: libxl_dm.c:1208:libxl__spawn_local_dm:

file=/dev/ubuntu-vg/ubuntu-hvm-0,if=ide,index=0,media=disk,format=raw,cache=writeback

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

libxl: debug:

libxl_event.c:559:libxl__ev_xswatch_register:

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

watch

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

w=0x210c960

wpath=/local/domain/0/device-model/2/state

Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines

token=3/1:

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

register

Quoted 2 lines

slotnum=3
libxl: debug: libxl_event.c:503:watchfd_callback:

watch

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

w=0x210c960

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

wpath=/local/domain/0/device-model/2/state

token=3/1: event

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

epath=/local/domain/0/device-model/2/state
libxl: debug: libxl_event.c:503:watchfd_callback:

watch

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

w=0x210c960

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

wpath=/local/domain/0/device-model/2/state

token=3/1: event

Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

epath=/local/domain/0/device-model/2/state
libxl: debug:

libxl_event.c:596:libxl__ev_xswatch_deregister:

Quoted 2 lines
Quoted 2 lines

watch

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

w=0x210c960

wpath=/local/domain/0/device-model/2/state

Quoted 11 lines
Quoted 11 lines
Quoted 11 lines
Quoted 3 lines
Quoted 3 lines

token=3/1:

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

deregister slotnum=3
libxl: debug:

libxl_event.c:608:libxl__ev_xswatch_deregister:

Quoted 3 lines
Quoted 3 lines

watch

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

w=0x210c960: deregister unregistered
libxl: debug: libxl_qmp.c:707:libxl__qmp_initialize:

connected

Quoted 3 lines
Quoted 3 lines

to

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

/var/run/xen/qmp-libxl-2
libxl: debug: libxl_qmp.c:299:qmp_handle_response:

message

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

type: qmp

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

libxl: debug: libxl_qmp.c:555:qmp_send_prepare: next

qmp

Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines

command: '{

Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines

"execute": "qmp_capabilities",
"id": 1
}
'
libxl: debug: libxl_qmp.c:299:qmp_handle_response:

message

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

type:

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

return

Quoted 1 line
Quoted 1 line
Quoted 1 line

libxl: debug: libxl_qmp.c:555:qmp_send_prepare: next

qmp

Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines

command: '{

Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines

"execute": "query-chardev",
"id": 2
}
'
libxl: debug: libxl_qmp.c:299:qmp_handle_response:

message

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

type:

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

return

Quoted 1 line
Quoted 1 line
Quoted 1 line

libxl: debug: libxl_qmp.c:555:qmp_send_prepare: next

qmp

Quoted 11 lines
Quoted 11 lines
Quoted 11 lines
Quoted 11 lines
Quoted 11 lines

command: '{

Quoted 10 lines
Quoted 10 lines
Quoted 10 lines
Quoted 10 lines
Quoted 10 lines
Quoted 10 lines

"execute": "change",
"id": 3,
"arguments": {
"device": "vnc",
"target": "password",
"arg": ""
}
}
'
libxl: debug: libxl_qmp.c:299:qmp_handle_response:

message

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

type:

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

return

Quoted 1 line
Quoted 1 line
Quoted 1 line

libxl: debug: libxl_qmp.c:555:qmp_send_prepare: next

qmp

Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines

command: '{

Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines

"execute": "query-vnc",
"id": 4
}
'
libxl: debug: libxl_qmp.c:299:qmp_handle_response:

message

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

type:

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

return

Quoted 1 line
Quoted 1 line
Quoted 1 line

libxl: debug:

libxl_event.c:559:libxl__ev_xswatch_register:

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

watch

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

w=0x210e8a8

wpath=/local/domain/0/backend/vif/2/0/state

Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines

token=3/2:

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

register

Quoted 2 lines

slotnum=3
libxl: debug: libxl_event.c:503:watchfd_callback:

watch

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

w=0x210e8a8

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

wpath=/local/domain/0/backend/vif/2/0/state

token=3/2: event

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

epath=/local/domain/0/backend/vif/2/0/state
libxl: debug:

libxl_event.c:647:devstate_watch_callback:

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

backend

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

/local/domain/0/backend/vif/2/0/state wanted state 2

still

Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines

waiting

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

state

Quoted 2 lines
Quoted 2 lines

1

Quoted 1 line

libxl: debug: libxl_event.c:503:watchfd_callback:

watch

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

w=0x210e8a8

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

wpath=/local/domain/0/backend/vif/2/0/state

token=3/2: event

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

epath=/local/domain/0/backend/vif/2/0/state
libxl: debug:

libxl_event.c:643:devstate_watch_callback:

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

backend

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

/local/domain/0/backend/vif/2/0/state wanted state 2

ok

Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

libxl: debug:

libxl_event.c:596:libxl__ev_xswatch_deregister:

Quoted 2 lines
Quoted 2 lines

watch

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

w=0x210e8a8

wpath=/local/domain/0/backend/vif/2/0/state

Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 3 lines
Quoted 3 lines

token=3/2:

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

deregister slotnum=3
libxl: debug:

libxl_event.c:608:libxl__ev_xswatch_deregister:

Quoted 3 lines
Quoted 3 lines

watch

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

w=0x210e8a8: deregister unregistered
libxl: debug: libxl_device.c:959:device_hotplug:

calling

Quoted 4 lines
Quoted 4 lines
Quoted 4 lines

hotplug

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

script:

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

/etc/xen/scripts/vif-bridge online
libxl: debug: libxl_device.c:959:device_hotplug:

calling

Quoted 8 lines
Quoted 8 lines
Quoted 8 lines

hotplug

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

script:

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

/etc/xen/scripts/vif-bridge add
libxl: debug: libxl_qmp.c:707:libxl__qmp_initialize:

connected

Quoted 3 lines
Quoted 3 lines

to

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

/var/run/xen/qmp-libxl-2
libxl: debug: libxl_qmp.c:299:qmp_handle_response:

message

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

type: qmp

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

libxl: debug: libxl_qmp.c:555:qmp_send_prepare: next

qmp

Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines

command: '{

Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines

"execute": "qmp_capabilities",
"id": 1
}
'
libxl: debug: libxl_qmp.c:299:qmp_handle_response:

message

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

type:

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

return

Quoted 1 line
Quoted 1 line
Quoted 1 line

libxl: debug: libxl_qmp.c:555:qmp_send_prepare: next

qmp

Quoted 11 lines
Quoted 11 lines
Quoted 11 lines
Quoted 11 lines
Quoted 11 lines

command: '{

Quoted 10 lines
Quoted 10 lines
Quoted 10 lines
Quoted 10 lines
Quoted 10 lines
Quoted 10 lines

"execute": "device_add",
"id": 2,
"arguments": {
"driver": "xen-pci-passthrough",
"id": "pci-pt-03_00.0",
"hostaddr": "0000:03:00.0"
}
}
'
libxl: error: libxl_qmp.c:454:qmp_next: Socket read

error:

Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines

Connection

Quoted 3 lines
Quoted 3 lines

reset

Quoted 2 lines

by peer
libxl: error: libxl_qmp.c:702:libxl__qmp_initialize:

Connection

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

error:

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

Connection refused
libxl: error: libxl_qmp.c:702:libxl__qmp_initialize:

Quoted 8 lines
Quoted 8 lines
Quoted 8 lines

Connection

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

error:

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

Connection refused
libxl: error: libxl_qmp.c:702:libxl__qmp_initialize:

Connection

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

error:

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

Connection refused
libxl: debug:

libxl_pci.c:81:libxl__create_pci_backend:

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

Creating pci

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

backend

Quoted 1 line

libxl: debug:

libxl_event.c:1737:libxl__ao_progress_report:

Quoted 4 lines
Quoted 4 lines
Quoted 4 lines

ao

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

0x210c360:

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

progress report: ignored
libxl: debug: libxl_event.c:1569:libxl__ao_complete:

ao

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

0x210c360:

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

complete, rc=0
libxl: debug: libxl_event.c:1541:libxl__ao__destroy:

ao

Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines

0x210c360:

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

destroy

Quoted 2 lines

Daemon running with PID 3214
xc: debug: hypercall buffer: total allocations:793

total

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

releases:793

Quoted 1 line
Quoted 1 line
Quoted 1 line

xc: debug: hypercall buffer: current allocations:0

maximum

Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

allocations:4

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

xc: debug: hypercall buffer: cache current size:4
xc: debug: hypercall buffer: cache hits:785 misses:4

toobig:4

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

###########################################################

Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

root@fiat:/var/log/xen# cat qemu-dm-ubuntu-hvm-0.log
char device redirected to /dev/pts/5 (label serial0)
qemu: hardware error: xen: failed to populate ram at

40030000

Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines

CPU #0:
EAX=00000000 EBX=00000000 ECX=00000000 EDX=00000633
ESI=00000000 EDI=00000000 EBP=00000000 ESP=00000000
EIP=0000fff0 EFL=00000002 [-------] CPL=0 II=0 A20=1

SMM=0

Quoted 24 lines
Quoted 24 lines
Quoted 24 lines

HLT=1

Quoted 23 lines
Quoted 23 lines
Quoted 23 lines
Quoted 23 lines
Quoted 23 lines
Quoted 23 lines
Quoted 23 lines
Quoted 23 lines

ES =0000 00000000 0000ffff 00009300
CS =f000 ffff0000 0000ffff 00009b00
SS =0000 00000000 0000ffff 00009300
DS =0000 00000000 0000ffff 00009300
FS =0000 00000000 0000ffff 00009300
GS =0000 00000000 0000ffff 00009300
LDT=0000 00000000 0000ffff 00008200
TR =0000 00000000 0000ffff 00008b00
GDT= 00000000 0000ffff
IDT= 00000000 0000ffff
CR0=60000010 CR2=00000000 CR3=00000000 CR4=00000000
DR0=00000000 DR1=00000000 DR2=00000000 DR3=00000000
DR6=ffff0ff0 DR7=00000400
EFER=0000000000000000
FCW=037f FSW=0000 [ST=0] FTW=00 MXCSR=00001f80
FPR0=0000000000000000 0000 FPR1=0000000000000000 0000
FPR2=0000000000000000 0000 FPR3=0000000000000000 0000
FPR4=0000000000000000 0000 FPR5=0000000000000000 0000
FPR6=0000000000000000 0000 FPR7=0000000000000000 0000
XMM00=00000000000000000000000000000000
XMM01=00000000000000000000000000000000
XMM02=00000000000000000000000000000000
XMM03=00000000000000000000000000000000

Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines

XMM04=00000000000000000000000000000000
XMM05=00000000000000000000000000000000
XMM06=00000000000000000000000000000000
XMM07=00000000000000000000000000000000
CPU #1:
EAX=00000000 EBX=00000000 ECX=00000000 EDX=00000633
ESI=00000000 EDI=00000000 EBP=00000000 ESP=00000000
EIP=0000fff0 EFL=00000002 [-------] CPL=0 II=0 A20=1

SMM=0

Quoted 22 lines
Quoted 22 lines
Quoted 22 lines

HLT=1

Quoted 21 lines
Quoted 21 lines
Quoted 21 lines
Quoted 21 lines
Quoted 21 lines
Quoted 21 lines
Quoted 21 lines
Quoted 21 lines

ES =0000 00000000 0000ffff 00009300
CS =f000 ffff0000 0000ffff 00009b00
SS =0000 00000000 0000ffff 00009300
DS =0000 00000000 0000ffff 00009300
FS =0000 00000000 0000ffff 00009300
GS =0000 00000000 0000ffff 00009300
LDT=0000 00000000 0000ffff 00008200
TR =0000 00000000 0000ffff 00008b00
GDT= 00000000 0000ffff
IDT= 00000000 0000ffff
CR0=60000010 CR2=00000000 CR3=00000000 CR4=00000000
DR0=00000000 DR1=00000000 DR2=00000000 DR3=00000000
DR6=ffff0ff0 DR7=00000400
EFER=0000000000000000
FCW=037f FSW=0000 [ST=0] FTW=00 MXCSR=00001f80
FPR0=0000000000000000 0000 FPR1=0000000000000000 0000
FPR2=0000000000000000 0000 FPR3=0000000000000000 0000
FPR4=0000000000000000 0000 FPR5=0000000000000000 0000
FPR6=0000000000000000 0000 FPR7=0000000000000000 0000
XMM00=00000000000000000000000000000000
XMM01=00000000000000000000000000000000

Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines

XMM02=00000000000000000000000000000000
XMM03=00000000000000000000000000000000
XMM04=00000000000000000000000000000000
XMM05=00000000000000000000000000000000
XMM06=00000000000000000000000000000000
XMM07=00000000000000000000000000000000

###########################################################

Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines

/etc/default/grub
GRUB_DEFAULT="Xen 4.3-amd64"
GRUB_HIDDEN_TIMEOUT=0
GRUB_HIDDEN_TIMEOUT_QUIET=true
GRUB_TIMEOUT=10
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null ||

echo

Quoted 18 lines
Quoted 17 lines
Quoted 17 lines

Debian`

Quoted 15 lines
Quoted 15 lines
Quoted 14 lines
Quoted 14 lines
Quoted 12 lines
Quoted 11 lines
Quoted 11 lines
Quoted 9 lines

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX=""
# biosdevname=0
GRUB_CMDLINE_XEN="dom0_mem=1024M dom0_max_vcpus=1"

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel

#2 lore raw

Works like a charm. I do not have physical access to the computer this weekend to verify that the cards are isolated, but the HVM starts and appears to be working well.

When do you think Xen 4.4 will be released. The article I read mentioned it will be released in 2014 (hinting towards the end of February). I also read 'When it is ready.'

Any timeline would be great.

Thanks again for your help!

Quoted 971 lines · Mike Neiderhauser

I will give it a shot. Thanks!

Quoted 964 lines · Konrad Wilk
Quoted 2 lines · ----- [email protected] wrote:

I followed this site (

http://wiki.xenproject.org/wiki/Xen_4.4_RC3_test_instructions).
and then followed (http://wiki.xen.org/wiki/Compiling_Xen_From_Source)

Quoted 1 line

Ah, so you are looking for the xen_pt: Fix passthrough of device
with ROM.
which is not in the Xen 4.4-rc3 but in the master.

One thing you can do is:

cd xen/tools/qemu-xen-dir
git fetch upstream
git checkout origin/master
[you should see: "HEAD is now at 027c412... configure: Disable libtool if -fPIE does not work with it (bug #1257099)"]

Go back to main xen directory:
cd ../../../
./configure
make
make install

and you should be using now an newer version of QEMU with the fix.

Quoted 1 line

git clone -b 4.4.0-rc3 git://xenbits.xen.org/xen.git

Quoted 1 line

Had to take some additional steps here to get all of the libs

# apt-get install build-essential # apt-get install bcc bin86 gawk bridge-utils iproute libcurl3 libcurl4-openssl-dev bzip2 module-init-tools transfig tgif # apt-get install texinfo texlive-latex-base texlive-latex-recommended texlive-fonts-extra texlive-fonts-recommended pciutils-dev mercurial# apt-get install make gcc libc6-dev zlib1g-dev python python-dev python-twisted libncurses5-dev patch libvncserver-dev libsdl-dev libjpeg62-dev# apt-get install iasl libbz2-dev e2fslibs-dev git-core uuid-dev ocaml ocaml-findlib libx11-dev bison flex xz-utils libyajl-dev# apt-get install gettext
apt-get install libaio-dev
apt-get install libpixman-1-dev

./configure
make dist
make install

Quoted 4 lines

On Fri, Feb 7, 2014 at 4:49 PM, Konrad Rzeszutek Wilk <

Quoted 914 lines · [email protected]> wrote:
Quoted 7 lines · Mike Neiderhauser
Quoted 2 lines

I did not use the patch. I was assuming it was already patched given previous email. Is the patch for qemu source or xen source?

It is for QEMU, but you are right - it should have been part

Quoted 22 lines

of QEMU if you got the latest version of Xen-unstable.

You didn't use some specific tag but just 'staging' ?

Quoted 16 lines
Quoted 11 lines · Konrad Rzeszutek Wilk
Quoted 4 lines · Mike Neiderhauser

Ok. I started ran the initscripts and now xl works.

However, I still see the same behavior as before:

Did you use the patch that was mentioned in the URL?

Quoted 3 lines
root@fiat:~# xl create /etc/xen/ubuntu-hvm-0.cfg
Parsing config from /etc/xen/ubuntu-hvm-0.cfg
libxl: error: libxl_qmp.c:448:qmp_next: Socket read error:

Connection

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

reset

Quoted 2 lines

by peer
libxl: error: libxl_qmp.c:691:libxl__qmp_initialize: Connection

error:

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

Connection refused
libxl: error: libxl_qmp.c:691:libxl__qmp_initialize: Connection

error:

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

Connection refused
libxl: error: libxl_qmp.c:691:libxl__qmp_initialize: Connection

error:

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

Connection refused

root@fiat:~# xl list
Name                                        ID   Mem VCPUs State

Time(s)

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

Domain-0 0 1024 1

r-----

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

15.2
ubuntu-hvm-0 1 1025 1

------

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

0.0

(XEN) Dom0 kernel: 64-bit, PAE, lsb, paddr 0x1000000 ->

0x23f3000

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

(XEN) PHYSICAL MEMORY ARRANGEMENT:
(XEN) Dom0 alloc.: 0000000134000000->0000000138000000 (233690

pages to

Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines

be allocated)
(XEN) Init. ramdisk: 000000013d0da000->000000013ffffe00 (XEN) VIRTUAL MEMORY ARRANGEMENT:
(XEN) Loaded kernel: ffffffff81000000->ffffffff823f3000 (XEN) Init. ramdisk: ffffffff823f3000->ffffffff85318e00

Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
(XEN)  Phys-Mach map: ffffffff85319000->ffffffff85519000
(XEN)  Start info:    ffffffff85519000->ffffffff855194b4
(XEN)  Page tables:   ffffffff8551a000->ffffffff85549000
(XEN)  Boot stack:    ffffffff85549000->ffffffff8554a000
(XEN)  TOTAL:         ffffffff80000000->ffffffff85800000
(XEN)  ENTRY ADDRESS: ffffffff81d261e0

(XEN) Dom0 has maximum 1 VCPUs
(XEN) elf_load_binary: phdr 0 at 0xffffffff81000000 ->

0xffffffff81b2f000

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

(XEN) elf_load_binary: phdr 1 at 0xffffffff81c00000 ->

0xffffffff81d0f0f0

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

(XEN) elf_load_binary: phdr 2 at 0xffffffff81d10000 ->

0xffffffff81d252c0

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

(XEN) elf_load_binary: phdr 3 at 0xffffffff81d26000 ->

0xffffffff81e6d000

Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines

(XEN) Scrubbing Free RAM: .............................done. (XEN) Initial low memory virq threshold set at 0x4000 pages. (XEN) Std. Loglevel: All
(XEN) Guest Loglevel: All
(XEN) Xen is relinquishing VGA console.
(XEN) *** Serial input -> DOM0 (type 'CTRL-a' three times to

switch input

Quoted 22 lines
Quoted 14 lines
Quoted 14 lines
Quoted 14 lines

to Xen)
(XEN) Freed 260kB init memory.
(XEN) PCI add device 0000:00:00.0
(XEN) PCI add device 0000:00:01.0
(XEN) PCI add device 0000:00:1a.0
(XEN) PCI add device 0000:00:1c.0
(XEN) PCI add device 0000:00:1d.0
(XEN) PCI add device 0000:00:1e.0
(XEN) PCI add device 0000:00:1f.0
(XEN) PCI add device 0000:00:1f.2
(XEN) PCI add device 0000:00:1f.3
(XEN) PCI add device 0000:01:00.0
(XEN) PCI add device 0000:02:02.0
(XEN) PCI add device 0000:02:04.0

Quoted 8 lines
Quoted 8 lines
Quoted 8 lines

(XEN) PCI add device 0000:03:00.0
(XEN) PCI add device 0000:03:00.1
(XEN) PCI add device 0000:04:00.0
(XEN) PCI add device 0000:04:00.1
(XEN) PCI add device 0000:05:00.0
(XEN) PCI add device 0000:05:00.1
(XEN) PCI add device 0000:06:03.0
(XEN) page_alloc.c:1460:d0 Over-allocation for domain 1: 262401

Quoted 2 lines

262400

Quoted 1 line
Quoted 1 line
Quoted 1 line

(XEN) memory.c:158:d0 Could not allocate order=0 extent: id=1

memflags=0

Quoted 17 lines
Quoted 17 lines
Quoted 17 lines
Quoted 17 lines

(200 of 1024)
(d1) HVM Loader
(d1) Detected Xen v4.4-rc2
(d1) Xenbus rings @0xfeffc000, event channel 4 (d1) System requested SeaBIOS
(d1) CPU speed is 3093 MHz
(d1) Relocating guest memory for lowmem MMIO space disabled

Excerpt from /var/log/xen/*
qemu: hardware error: xen: failed to populate ram at 40050000

Quoted 1 line · Konrad Rzeszutek Wilk

On Fri, Feb 07, 2014 at 03:36:49PM -0500, Mike Neiderhauser

Quoted 1 line · wrote:
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

I was able to compile and install xen4.4 RC3 on my host,

however I am

Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines

getting the error:

root@fiat:~/git/xen# xl list
xc: error: Could not obtain handle on privileged command

interface

Quoted 4 lines
Quoted 4 lines
Quoted 4 lines

(2 =

Quoted 3 lines
Quoted 3 lines

No

Quoted 2 lines

such file or directory): Internal error
libxl: error: libxl.c:92:libxl_ctx_alloc: cannot open libxc

handle:

Quoted 6 lines
Quoted 6 lines
Quoted 6 lines

No

Quoted 5 lines
Quoted 5 lines

such

Quoted 4 lines

file or directory
cannot init xl context

I've google searched for this and an article appears, but is

not the

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

same

Quoted 1 line
Quoted 1 line
Quoted 1 line

(as far as I can tell). Running any xl command generates a

similar

Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines

error.

Quoted 2 lines

What can I do to fix this?

You need to run the initscripts for Xen. I don't know what

your distro

Quoted 6 lines
Quoted 6 lines
Quoted 6 lines

is,

Quoted 5 lines
Quoted 5 lines

but
they are usually put in /etc/init.d/rc.d/xen*

Quoted 1 line
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines

Regards

Quoted 1 line · Mike Neiderhauser

Much. Do I need to install from src or is there a package

I can

Quoted 9 lines
Quoted 9 lines
Quoted 9 lines
Quoted 9 lines
Quoted 9 lines

install.

Quoted 8 lines
Quoted 8 lines

Regards

Quoted 1 line · Konrad Rzeszutek Wilk

On Fri, Feb 07, 2014 at 10:53:22AM -0500, Mike

Quoted 1 line · Neiderhauser
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

I did not. I do not have the toolchain installed. I

may have

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

time

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

later

Quoted 1 line

today to try the patch. Are there any specific

instructions on

Quoted 5 lines
Quoted 5 lines
Quoted 5 lines

how

Quoted 4 lines
Quoted 4 lines

to

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 1 line

patch the src, compile and install?

There actually should be a new version of Xen 4.4-rcX

which will

Quoted 11 lines
Quoted 11 lines
Quoted 11 lines

have

Quoted 10 lines
Quoted 10 lines

the

Quoted 9 lines
Quoted 9 lines
Quoted 9 lines

fix. That might be easier for you?

Quoted 8 lines

Regards

Quoted 1 line · Konrad Rzeszutek Wilk

On Thu, Feb 06, 2014 at 09:39:37AM -0500, Mike

Neiderhauser

Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 3 lines · wrote:
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

Hi all,

I am attempting to do a pci passthrough of an Intel

ET card

Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines

(4x1G

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

NIC)

Quoted 2 lines
Quoted 2 lines

to a
HVM. I have been attempting to resolve this issue

on the

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

xen-users

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

list,

Quoted 1 line
Quoted 1 line

but it was advised to post this issue to this list.

(Initial

Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 5 lines
Quoted 5 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines

Message -

Quoted 2 lines
Quoted 2 lines

http://lists.xenproject.org/archives/html/xen-users/2014-02/msg00036.html

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

)

Quoted 2 lines
Quoted 2 lines

The machine I am using as host is a Dell Poweredge

server

Quoted 6 lines
Quoted 6 lines
Quoted 6 lines

with a

Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines

Xeon

Quoted 4 lines
Quoted 4 lines

E31220 with 4GB of ram.

The possible bug is the following:
root@fiat:/var/log/xen# cat

qemu-dm-ubuntu-hvm-0.log

Quoted 11 lines
Quoted 11 lines
Quoted 11 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

char device redirected to /dev/pts/5 (label serial0)
qemu: hardware error: xen: failed to populate ram at

40030000

Quoted 7 lines
Quoted 7 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 5 lines
Quoted 5 lines

....

I believe it may be similar to this thread

http://markmail.org/message/3zuiojywempoorxj#query:+page:1+mid:gul34vbe4uyog2d4+state:results

Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines

Additional info that may be helpful is below.

Did you try the patch?

Please let me know if you need any additional

information.

Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines

Thanks in advance for any help provided!
Regards

###########################################################

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

root@fiat:~# cat /etc/xen/ubuntu-hvm-0.cfg

###########################################################

Quoted 11 lines
Quoted 11 lines
Quoted 11 lines
Quoted 11 lines
Quoted 11 lines
Quoted 11 lines
Quoted 11 lines
Quoted 11 lines
Quoted 11 lines
Quoted 11 lines

# Configuration file for Xen HVM

# HVM Name (as appears in 'xl list')
name="ubuntu-hvm-0"
# HVM Build settings (+ hardware)
#kernel = "/usr/lib/xen-4.3/boot/hvmloader"
builder='hvm'
device_model='qemu-dm'
memory=1024
vcpus=2

Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines

# Virtual Interface
# Network bridge to USB NIC
vif=['bridge=xenbr0']

################### PCI PASSTHROUGH

###################

Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines

# PCI Permissive mode toggle
#pci_permissive=1

# All PCI Devices
#pci=['03:00.0', '03:00.1', '04:00.0', '04:00.1',

'05:00.0',

Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines

'05:00.1']

Quoted 7 lines
Quoted 7 lines

# First two ports on Intel 4x1G NIC
#pci=['03:00.0','03:00.1']

# Last two ports on Intel 4x1G NIC
#pci=['04:00.0', '04:00.1']

Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines

# All ports on Intel 4x1G NIC
pci=['03:00.0', '03:00.1', '04:00.0', '04:00.1']

# Brodcom 2x1G NIC
#pci=['05:00.0', '05:00.1']
################### PCI PASSTHROUGH

###################

Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines

# HVM Disks
# Hard disk only
# Boot from HDD first ('c')
boot="c"
disk=['phy:/dev/ubuntu-vg/ubuntu-hvm-0,hda,w']

Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines

# Hard disk with ISO
# Boot from ISO first ('d')
#boot="d"
#disk=['phy:/dev/ubuntu-vg/ubuntu-hvm-0,hda,w',

'file:/root/ubuntu-12.04.3-server-amd64.iso,hdc:cdrom,r']

Quoted 12 lines
Quoted 12 lines
Quoted 12 lines
Quoted 12 lines
Quoted 12 lines
Quoted 12 lines
Quoted 12 lines
Quoted 12 lines
Quoted 12 lines
Quoted 12 lines

# ACPI Enable
acpi=1
# HVM Event Modes
on_poweroff='destroy'
on_reboot='restart'
on_crash='restart'

# Serial Console Configuration (Xen Console)
sdl=0
serial='pty'

Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines

# VNC Configuration
# Only reacable from localhost
vnc=1
vnclisten="0.0.0.0"
vncpasswd=""

###########################################################

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

Copied for xen-users list

###########################################################

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

It appears that it cannot obtain the RAM mapping

for this

Quoted 35 lines
Quoted 35 lines
Quoted 35 lines

PCI

Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines

device.

Quoted 3 lines
Quoted 3 lines

I rebooted the Host. I ran assigned pci devices to

pciback. The

Quoted 29 lines
Quoted 29 lines
Quoted 29 lines
Quoted 29 lines
Quoted 29 lines

output

Quoted 28 lines
Quoted 28 lines

looks like:
root@fiat:~# ./dev_mgmt.sh
Loading Kernel Module 'xen-pciback'
Calling function pciback_dev for:
PCI DEVICE 0000:03:00.0
Unbinding 0000:03:00.0 from igb
Binding 0000:03:00.0 to pciback

PCI DEVICE 0000:03:00.1
Unbinding 0000:03:00.1 from igb
Binding 0000:03:00.1 to pciback

PCI DEVICE 0000:04:00.0
Unbinding 0000:04:00.0 from igb
Binding 0000:04:00.0 to pciback

PCI DEVICE 0000:04:00.1
Unbinding 0000:04:00.1 from igb
Binding 0000:04:00.1 to pciback

PCI DEVICE 0000:05:00.0
Unbinding 0000:05:00.0 from bnx2
Binding 0000:05:00.0 to pciback

PCI DEVICE 0000:05:00.1
Unbinding 0000:05:00.1 from bnx2
Binding 0000:05:00.1 to pciback

Quoted 9 lines
Quoted 9 lines
Quoted 9 lines
Quoted 9 lines
Quoted 9 lines
Quoted 9 lines
Quoted 9 lines
Quoted 9 lines
Quoted 9 lines
Quoted 9 lines

Listing PCI Devices Available to Xen
0000:03:00.0
0000:03:00.1
0000:04:00.0
0000:04:00.1
0000:05:00.0
0000:05:00.1

###########################################################

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

root@fiat:~# xl -vvv create

/etc/xen/ubuntu-hvm-0.cfg

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

Parsing config from /etc/xen/ubuntu-hvm-0.cfg
WARNING: ignoring device_model directive.
WARNING: Use "device_model_override" instead if you

really

Quoted 4 lines
Quoted 4 lines
Quoted 4 lines

want

Quoted 3 lines
Quoted 3 lines

a

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

non-default device_model
libxl: debug: libxl_create.c:1230:do_domain_create:

ao

Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines

0x210c360:

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

create:

Quoted 2 lines
Quoted 2 lines

how=(nil) callback=(nil) poller=0x210c3c0
libxl: debug:

Quoted 8 lines
Quoted 8 lines
Quoted 8 lines

libxl_device.c:257:libxl__device_disk_set_backend:

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

Disk

Quoted 2 lines
Quoted 2 lines

vdev=hda spec.backend=unknown
libxl: debug:

libxl_device.c:296:libxl__device_disk_set_backend:

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

Disk

Quoted 2 lines
Quoted 2 lines

vdev=hda, using backend phy
libxl: debug:

libxl_create.c:675:initiate_domain_create:

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

running

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

bootloader
libxl: debug:

libxl_bootloader.c:321:libxl__bootloader_run:

Quoted 8 lines
Quoted 8 lines
Quoted 8 lines

not

Quoted 3 lines
Quoted 3 lines

a PV

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

domain, skipping bootloader
libxl: debug:

libxl_event.c:608:libxl__ev_xswatch_deregister:

Quoted 3 lines
Quoted 3 lines

watch

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

w=0x210c728: deregister unregistered
libxl: debug:

libxl_numa.c:475:libxl__get_numa_candidate:

Quoted 7 lines
Quoted 7 lines
Quoted 7 lines

New

Quoted 3 lines
Quoted 3 lines

best

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

NUMA

Quoted 1 line
Quoted 1 line

placement candidate found: nr_nodes=1, nr_cpus=4,

nr_vcpus=3,

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

free_memkb=2980
libxl: detail: libxl_dom.c:195:numa_place_domain:

NUMA

Quoted 6 lines
Quoted 6 lines
Quoted 6 lines

placement

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

candidate
with 1 nodes, 4 cpus and 2980 KB free selected
xc: detail: elf_parse_binary: phdr: paddr=0x100000

memsz=0xa69a4

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

xc: detail: elf_parse_binary: memory: 0x100000 ->

0x1a69a4

Quoted 10 lines
Quoted 10 lines
Quoted 10 lines
Quoted 10 lines
Quoted 10 lines
Quoted 10 lines
Quoted 10 lines
Quoted 10 lines
Quoted 10 lines
Quoted 10 lines

xc: info: VIRTUAL MEMORY ARRANGEMENT:
Loader: 0000000000100000->00000000001a69a4
Modules: 0000000000000000->0000000000000000
TOTAL: 0000000000000000->000000003f800000
ENTRY ADDRESS: 0000000000100608
xc: info: PHYSICAL MEMORY ALLOCATION:
4KB PAGES: 0x0000000000000200
2MB PAGES: 0x00000000000001fb
1GB PAGES: 0x0000000000000000
xc: detail: elf_load_binary: phdr 0 at

0x7f022c779000 ->

Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

0x7f022c81682d

Quoted 1 line
Quoted 1 line

libxl: debug:

libxl_device.c:257:libxl__device_disk_set_backend:

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

Disk

Quoted 2 lines
Quoted 2 lines

vdev=hda spec.backend=phy
libxl: debug:

libxl_event.c:559:libxl__ev_xswatch_register:

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

watch

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

w=0x2112f48

wpath=/local/domain/0/backend/vbd/2/768/state

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

token=3/0:

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

register slotnum=3
libxl: debug: libxl_create.c:1243:do_domain_create:

ao

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

0x210c360:

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

inprogress: poller=0x210c3c0, flags=i
libxl: debug: libxl_event.c:503:watchfd_callback:

watch

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

w=0x2112f48

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

wpath=/local/domain/0/backend/vbd/2/768/state

token=3/0:

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

event

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

epath=/local/domain/0/backend/vbd/2/768/state
libxl: debug:

libxl_event.c:647:devstate_watch_callback:

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

backend

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

/local/domain/0/backend/vbd/2/768/state wanted

state 2 still

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

waiting

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

state 1
libxl: debug: libxl_event.c:503:watchfd_callback:

watch

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

w=0x2112f48

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

wpath=/local/domain/0/backend/vbd/2/768/state

token=3/0:

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

event

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

epath=/local/domain/0/backend/vbd/2/768/state
libxl: debug:

libxl_event.c:643:devstate_watch_callback:

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

backend

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

/local/domain/0/backend/vbd/2/768/state wanted

state 2 ok

Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

libxl: debug:

libxl_event.c:596:libxl__ev_xswatch_deregister:

Quoted 2 lines
Quoted 2 lines

watch

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

w=0x2112f48

wpath=/local/domain/0/backend/vbd/2/768/state

Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 3 lines
Quoted 3 lines

token=3/0:

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

deregister slotnum=3
libxl: debug:

libxl_event.c:608:libxl__ev_xswatch_deregister:

Quoted 3 lines
Quoted 3 lines

watch

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

w=0x2112f48: deregister unregistered
libxl: debug: libxl_device.c:959:device_hotplug:

calling

Quoted 4 lines
Quoted 4 lines
Quoted 4 lines

hotplug

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

script:

Quoted 2 lines
Quoted 2 lines

/etc/xen/scripts/block add
libxl: debug: libxl_dm.c:1206:libxl__spawn_local_dm:

Quoted 8 lines
Quoted 8 lines
Quoted 8 lines

Spawning

Quoted 7 lines
Quoted 7 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines

device-model
/usr/bin/qemu-system-i386 with arguments:
libxl: debug: libxl_dm.c:1208:libxl__spawn_local_dm:
/usr/bin/qemu-system-i386
libxl: debug: libxl_dm.c:1208:libxl__spawn_local_dm:

-xen-domid

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

libxl: debug:

libxl_dm.c:1208:libxl__spawn_local_dm: 2

Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

libxl: debug: libxl_dm.c:1208:libxl__spawn_local_dm:

-chardev

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

libxl: debug: libxl_dm.c:1208:libxl__spawn_local_dm:

socket,id=libxl-cmd,path=/var/run/xen/qmp-libxl-2,server,nowait

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

libxl: debug:

libxl_dm.c:1208:libxl__spawn_local_dm: -mon

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

libxl: debug: libxl_dm.c:1208:libxl__spawn_local_dm:
chardev=libxl-cmd,mode=control
libxl: debug:

libxl_dm.c:1208:libxl__spawn_local_dm: -name

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

libxl: debug: libxl_dm.c:1208:libxl__spawn_local_dm:

ubuntu-hvm-0

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

libxl: debug:

libxl_dm.c:1208:libxl__spawn_local_dm: -vnc

Quoted 10 lines
Quoted 10 lines
Quoted 10 lines
Quoted 4 lines
Quoted 4 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

libxl: debug: libxl_dm.c:1208:libxl__spawn_local_dm:

0.0.0.0:0

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

,to=99

Quoted 1 line
Quoted 1 line

libxl: debug: libxl_dm.c:1208:libxl__spawn_local_dm:

-global

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 1 line
Quoted 1 line

libxl: debug: libxl_dm.c:1208:libxl__spawn_local_dm:

isa-fdc.driveA=

Quoted 1 line
Quoted 1 line

libxl: debug: libxl_dm.c:1208:libxl__spawn_local_dm:

-serial

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

libxl: debug:

libxl_dm.c:1208:libxl__spawn_local_dm: pty

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

libxl: debug:

libxl_dm.c:1208:libxl__spawn_local_dm: -vga

Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

libxl: debug: libxl_dm.c:1208:libxl__spawn_local_dm:

cirrus

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

libxl: debug: libxl_dm.c:1208:libxl__spawn_local_dm:

-global

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 1 line
Quoted 1 line

libxl: debug: libxl_dm.c:1208:libxl__spawn_local_dm:

vga.vram_size_mb=8

Quoted 1 line
Quoted 1 line

libxl: debug:

libxl_dm.c:1208:libxl__spawn_local_dm: -boot

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

libxl: debug: libxl_dm.c:1208:libxl__spawn_local_dm:

order=c

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

libxl: debug:

libxl_dm.c:1208:libxl__spawn_local_dm: -smp

Quoted 10 lines
Quoted 10 lines
Quoted 10 lines
Quoted 3 lines
Quoted 3 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

libxl: debug: libxl_dm.c:1208:libxl__spawn_local_dm:

2,maxcpus=2

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

libxl: debug: libxl_dm.c:1208:libxl__spawn_local_dm:

-device

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

libxl: debug: libxl_dm.c:1208:libxl__spawn_local_dm:
rtl8139,id=nic0,netdev=net0,mac=00:16:3e:23:44:2c
libxl: debug: libxl_dm.c:1208:libxl__spawn_local_dm:

-netdev

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

libxl: debug: libxl_dm.c:1208:libxl__spawn_local_dm:

type=tap,id=net0,ifname=vif2.0-emu,script=no,downscript=no

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

libxl: debug:

libxl_dm.c:1208:libxl__spawn_local_dm: -M

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

libxl: debug:

libxl_dm.c:1208:libxl__spawn_local_dm: xenfv

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

libxl: debug:

libxl_dm.c:1208:libxl__spawn_local_dm: -m

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

libxl: debug:

libxl_dm.c:1208:libxl__spawn_local_dm: 1016

Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

libxl: debug: libxl_dm.c:1208:libxl__spawn_local_dm:

-drive

Quoted 5 lines
Quoted 5 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 3 lines
Quoted 3 lines

libxl: debug: libxl_dm.c:1208:libxl__spawn_local_dm:

file=/dev/ubuntu-vg/ubuntu-hvm-0,if=ide,index=0,media=disk,format=raw,cache=writeback

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

libxl: debug:

libxl_event.c:559:libxl__ev_xswatch_register:

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

watch

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

w=0x210c960

wpath=/local/domain/0/device-model/2/state

Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines

token=3/1:

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

register
slotnum=3
libxl: debug: libxl_event.c:503:watchfd_callback:

watch

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

w=0x210c960

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

wpath=/local/domain/0/device-model/2/state

token=3/1: event

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

epath=/local/domain/0/device-model/2/state
libxl: debug: libxl_event.c:503:watchfd_callback:

watch

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

w=0x210c960

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

wpath=/local/domain/0/device-model/2/state

token=3/1: event

Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

epath=/local/domain/0/device-model/2/state
libxl: debug:

libxl_event.c:596:libxl__ev_xswatch_deregister:

Quoted 2 lines
Quoted 2 lines

watch

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

w=0x210c960

wpath=/local/domain/0/device-model/2/state

Quoted 11 lines
Quoted 11 lines
Quoted 11 lines
Quoted 3 lines
Quoted 3 lines

token=3/1:

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

deregister slotnum=3
libxl: debug:

libxl_event.c:608:libxl__ev_xswatch_deregister:

Quoted 3 lines
Quoted 3 lines

watch

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

w=0x210c960: deregister unregistered
libxl: debug: libxl_qmp.c:707:libxl__qmp_initialize:

connected

Quoted 3 lines
Quoted 3 lines

to

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

/var/run/xen/qmp-libxl-2
libxl: debug: libxl_qmp.c:299:qmp_handle_response:

message

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

type: qmp

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

libxl: debug: libxl_qmp.c:555:qmp_send_prepare:

next qmp

Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines

command: '{

Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines

"execute": "qmp_capabilities",
"id": 1
}
'
libxl: debug: libxl_qmp.c:299:qmp_handle_response:

message

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

type:

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

return

Quoted 1 line
Quoted 1 line

libxl: debug: libxl_qmp.c:555:qmp_send_prepare:

next qmp

Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines

command: '{

Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines

"execute": "query-chardev",
"id": 2
}
'
libxl: debug: libxl_qmp.c:299:qmp_handle_response:

message

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

type:

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

return

Quoted 1 line
Quoted 1 line

libxl: debug: libxl_qmp.c:555:qmp_send_prepare:

next qmp

Quoted 11 lines
Quoted 11 lines
Quoted 11 lines
Quoted 11 lines
Quoted 11 lines

command: '{

Quoted 10 lines
Quoted 10 lines
Quoted 10 lines
Quoted 10 lines
Quoted 10 lines

"execute": "change",
"id": 3,
"arguments": {
"device": "vnc",
"target": "password",
"arg": ""
}
}
'
libxl: debug: libxl_qmp.c:299:qmp_handle_response:

message

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

type:

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

return

Quoted 1 line
Quoted 1 line

libxl: debug: libxl_qmp.c:555:qmp_send_prepare:

next qmp

Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines

command: '{

Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines

"execute": "query-vnc",
"id": 4
}
'
libxl: debug: libxl_qmp.c:299:qmp_handle_response:

message

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

type:

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

return

Quoted 1 line
Quoted 1 line

libxl: debug:

libxl_event.c:559:libxl__ev_xswatch_register:

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

watch

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

w=0x210e8a8

wpath=/local/domain/0/backend/vif/2/0/state

Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines

token=3/2:

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

register
slotnum=3
libxl: debug: libxl_event.c:503:watchfd_callback:

watch

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

w=0x210e8a8

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

wpath=/local/domain/0/backend/vif/2/0/state

token=3/2: event

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

epath=/local/domain/0/backend/vif/2/0/state
libxl: debug:

libxl_event.c:647:devstate_watch_callback:

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

backend

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

/local/domain/0/backend/vif/2/0/state wanted state

2 still

Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines

waiting

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

state

Quoted 2 lines
Quoted 2 lines

1
libxl: debug: libxl_event.c:503:watchfd_callback:

watch

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

w=0x210e8a8

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

wpath=/local/domain/0/backend/vif/2/0/state

token=3/2: event

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

epath=/local/domain/0/backend/vif/2/0/state
libxl: debug:

libxl_event.c:643:devstate_watch_callback:

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

backend

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

/local/domain/0/backend/vif/2/0/state wanted state

2 ok

Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

libxl: debug:

libxl_event.c:596:libxl__ev_xswatch_deregister:

Quoted 2 lines
Quoted 2 lines

watch

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

w=0x210e8a8

wpath=/local/domain/0/backend/vif/2/0/state

Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 3 lines
Quoted 3 lines

token=3/2:

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

deregister slotnum=3
libxl: debug:

libxl_event.c:608:libxl__ev_xswatch_deregister:

Quoted 3 lines
Quoted 3 lines

watch

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

w=0x210e8a8: deregister unregistered
libxl: debug: libxl_device.c:959:device_hotplug:

calling

Quoted 4 lines
Quoted 4 lines
Quoted 4 lines

hotplug

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

script:

Quoted 2 lines
Quoted 2 lines

/etc/xen/scripts/vif-bridge online
libxl: debug: libxl_device.c:959:device_hotplug:

calling

Quoted 8 lines
Quoted 8 lines
Quoted 8 lines

hotplug

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

script:

Quoted 2 lines
Quoted 2 lines

/etc/xen/scripts/vif-bridge add
libxl: debug: libxl_qmp.c:707:libxl__qmp_initialize:

connected

Quoted 3 lines
Quoted 3 lines

to

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

/var/run/xen/qmp-libxl-2
libxl: debug: libxl_qmp.c:299:qmp_handle_response:

message

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

type: qmp

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

libxl: debug: libxl_qmp.c:555:qmp_send_prepare:

next qmp

Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines

command: '{

Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines

"execute": "qmp_capabilities",
"id": 1
}
'
libxl: debug: libxl_qmp.c:299:qmp_handle_response:

message

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

type:

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

return

Quoted 1 line
Quoted 1 line

libxl: debug: libxl_qmp.c:555:qmp_send_prepare:

next qmp

Quoted 11 lines
Quoted 11 lines
Quoted 11 lines
Quoted 11 lines
Quoted 11 lines

command: '{

Quoted 10 lines
Quoted 10 lines
Quoted 10 lines
Quoted 10 lines
Quoted 10 lines

"execute": "device_add",
"id": 2,
"arguments": {
"driver": "xen-pci-passthrough",
"id": "pci-pt-03_00.0",
"hostaddr": "0000:03:00.0"
}
}
'
libxl: error: libxl_qmp.c:454:qmp_next: Socket read

error:

Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines

Connection

Quoted 3 lines
Quoted 3 lines

reset
by peer
libxl: error: libxl_qmp.c:702:libxl__qmp_initialize:

Connection

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

error:

Quoted 2 lines
Quoted 2 lines

Connection refused
libxl: error: libxl_qmp.c:702:libxl__qmp_initialize:

Quoted 8 lines
Quoted 8 lines
Quoted 8 lines

Connection

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

error:

Quoted 2 lines
Quoted 2 lines

Connection refused
libxl: error: libxl_qmp.c:702:libxl__qmp_initialize:

Connection

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

error:

Quoted 2 lines
Quoted 2 lines

Connection refused
libxl: debug:

libxl_pci.c:81:libxl__create_pci_backend:

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

Creating pci

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

backend
libxl: debug:

libxl_event.c:1737:libxl__ao_progress_report:

Quoted 4 lines
Quoted 4 lines
Quoted 4 lines

ao

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

0x210c360:

Quoted 2 lines
Quoted 2 lines

progress report: ignored
libxl: debug:

libxl_event.c:1569:libxl__ao_complete: ao

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

0x210c360:

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

complete, rc=0
libxl: debug:

libxl_event.c:1541:libxl__ao__destroy: ao

Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines

0x210c360:

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

destroy
Daemon running with PID 3214
xc: debug: hypercall buffer: total allocations:793

total

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

releases:793

Quoted 1 line
Quoted 1 line

xc: debug: hypercall buffer: current allocations:0

maximum

Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

allocations:4

Quoted 2 lines
Quoted 2 lines

xc: debug: hypercall buffer: cache current size:4
xc: debug: hypercall buffer: cache hits:785 misses:4

toobig:4

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

###########################################################

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

root@fiat:/var/log/xen# cat

qemu-dm-ubuntu-hvm-0.log

Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

char device redirected to /dev/pts/5 (label serial0)
qemu: hardware error: xen: failed to populate ram at

40030000

Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines

CPU #0:
EAX=00000000 EBX=00000000 ECX=00000000 EDX=00000633
ESI=00000000 EDI=00000000 EBP=00000000 ESP=00000000
EIP=0000fff0 EFL=00000002 [-------] CPL=0 II=0

A20=1 SMM=0

Quoted 17 lines
Quoted 17 lines
Quoted 17 lines

HLT=1

Quoted 16 lines
Quoted 16 lines
Quoted 16 lines
Quoted 16 lines
Quoted 16 lines
Quoted 16 lines
Quoted 16 lines

ES =0000 00000000 0000ffff 00009300
CS =f000 ffff0000 0000ffff 00009b00
SS =0000 00000000 0000ffff 00009300
DS =0000 00000000 0000ffff 00009300
FS =0000 00000000 0000ffff 00009300
GS =0000 00000000 0000ffff 00009300
LDT=0000 00000000 0000ffff 00008200
TR =0000 00000000 0000ffff 00008b00
GDT= 00000000 0000ffff
IDT= 00000000 0000ffff
CR0=60000010 CR2=00000000 CR3=00000000 CR4=00000000
DR0=00000000 DR1=00000000 DR2=00000000 DR3=00000000
DR6=ffff0ff0 DR7=00000400
EFER=0000000000000000
FCW=037f FSW=0000 [ST=0] FTW=00 MXCSR=00001f80
FPR0=0000000000000000 0000 FPR1=0000000000000000

0000

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

FPR2=0000000000000000 0000 FPR3=0000000000000000

0000

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

FPR4=0000000000000000 0000 FPR5=0000000000000000

0000

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

FPR6=0000000000000000 0000 FPR7=0000000000000000

0000

Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines

XMM00=00000000000000000000000000000000
XMM01=00000000000000000000000000000000
XMM02=00000000000000000000000000000000
XMM03=00000000000000000000000000000000

Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines

XMM04=00000000000000000000000000000000
XMM05=00000000000000000000000000000000
XMM06=00000000000000000000000000000000
XMM07=00000000000000000000000000000000
CPU #1:
EAX=00000000 EBX=00000000 ECX=00000000 EDX=00000633
ESI=00000000 EDI=00000000 EBP=00000000 ESP=00000000
EIP=0000fff0 EFL=00000002 [-------] CPL=0 II=0

A20=1 SMM=0

Quoted 17 lines
Quoted 17 lines
Quoted 17 lines

HLT=1

Quoted 16 lines
Quoted 16 lines
Quoted 16 lines
Quoted 16 lines
Quoted 16 lines
Quoted 16 lines
Quoted 16 lines

ES =0000 00000000 0000ffff 00009300
CS =f000 ffff0000 0000ffff 00009b00
SS =0000 00000000 0000ffff 00009300
DS =0000 00000000 0000ffff 00009300
FS =0000 00000000 0000ffff 00009300
GS =0000 00000000 0000ffff 00009300
LDT=0000 00000000 0000ffff 00008200
TR =0000 00000000 0000ffff 00008b00
GDT= 00000000 0000ffff
IDT= 00000000 0000ffff
CR0=60000010 CR2=00000000 CR3=00000000 CR4=00000000
DR0=00000000 DR1=00000000 DR2=00000000 DR3=00000000
DR6=ffff0ff0 DR7=00000400
EFER=0000000000000000
FCW=037f FSW=0000 [ST=0] FTW=00 MXCSR=00001f80
FPR0=0000000000000000 0000 FPR1=0000000000000000

0000

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

FPR2=0000000000000000 0000 FPR3=0000000000000000

0000

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

FPR4=0000000000000000 0000 FPR5=0000000000000000

0000

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

FPR6=0000000000000000 0000 FPR7=0000000000000000

0000

Quoted 10 lines
Quoted 10 lines
Quoted 10 lines
Quoted 10 lines
Quoted 10 lines
Quoted 10 lines
Quoted 10 lines
Quoted 10 lines
Quoted 10 lines
Quoted 10 lines

XMM00=00000000000000000000000000000000
XMM01=00000000000000000000000000000000
XMM02=00000000000000000000000000000000
XMM03=00000000000000000000000000000000
XMM04=00000000000000000000000000000000
XMM05=00000000000000000000000000000000
XMM06=00000000000000000000000000000000
XMM07=00000000000000000000000000000000

###########################################################

Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines

/etc/default/grub
GRUB_DEFAULT="Xen 4.3-amd64"
GRUB_HIDDEN_TIMEOUT=0
GRUB_HIDDEN_TIMEOUT_QUIET=true
GRUB_TIMEOUT=10
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null ||

echo

Quoted 18 lines
Quoted 17 lines
Quoted 17 lines

Debian`

Quoted 15 lines
Quoted 15 lines
Quoted 14 lines
Quoted 14 lines
Quoted 12 lines
Quoted 11 lines
Quoted 11 lines

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX=""
# biosdevname=0
GRUB_CMDLINE_XEN="dom0_mem=1024M dom0_max_vcpus=1"

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel

#3 lore raw
Quoted 9 lines · Mike Neiderhauser

Works like a charm. I do not have physical access to the computer this weekend to verify that the cards are isolated, but the HVM starts and appears to be working well.
When do you think Xen 4.4 will be released. The article I read mentioned it will be released in 2014 (hinting towards the end of February). I also read 'When it is ready.'
Any timeline would be great.
Thanks again for your help!

I *assume* there is going to be at least one more rc..

-- Pasi

Quoted 1,051 lines

On Sat, Feb 8, 2014 at 10:37 AM, Mike Neiderhauser <[1][email protected]> wrote:

I will give it a shot. Thanks!

On Sat, Feb 8, 2014 at 10:36 AM, Konrad Wilk <[2][email protected]> wrote:

----- [3][email protected] wrote:
>
> I followed this site ([4]http://wiki.xenproject.org/wiki/Xen_4.4_RC3_test_instructions). and then followed ([5]http://wiki.xen.org/wiki/Compiling_Xen_From_Source)
>
Ah, so you are looking for the xen_pt: Fix passthrough of device
with ROM.
which is not in the Xen 4.4-rc3 but in the master.
One thing you can do is:
cd xen/tools/qemu-xen-dir
git fetch upstream
git checkout origin/master
[you should see: "HEAD is now at 027c412... configure: Disable libtool if -fPIE does not work with it (bug #1257099)"]
Go back to main xen directory:
cd ../../../
./configure
make
make install
and you should be using now an newer version of QEMU with the fix. >

git clone -b 4.4.0-rc3 git://[6]xenbits.xen.org/xen.git

Quoted 1 line

Had to take some additional steps here to get all of the libs

 # apt-get install build-essential
 # apt-get install bcc bin86 gawk bridge-utils iproute libcurl3 libcurl4-openssl-dev bzip2 module-init-tools transfig tgif
 # apt-get install texinfo texlive-latex-base texlive-latex-recommended texlive-fonts-extra texlive-fonts-recommended pciutils-dev mercurial
 # apt-get install make gcc libc6-dev zlib1g-dev python python-dev python-twisted libncurses5-dev patch libvncserver-dev libsdl-dev libjpeg62-dev
 # apt-get install iasl libbz2-dev e2fslibs-dev git-core uuid-dev ocaml ocaml-findlib libx11-dev bison flex xz-utils libyajl-dev
 # apt-get install gettext
 apt-get install libaio-dev
 apt-get install libpixman-1-dev

./configure
make dist
make install

       >
       >
       >
       > On Fri, Feb 7, 2014 at 4:49 PM, Konrad Rzeszutek Wilk
       <[7][email protected]> wrote:
       >

         > On Fri, Feb 07, 2014 at 04:29:18PM -0500, Mike Neiderhauser wrote:
         > > I did not use the patch.  I was assuming it was already patched
         given
         > > previous email.  Is the patch for qemu source or xen source?
         >
         >
         It is for QEMU, but you are right - it should have been part
         > of QEMU if you got the latest version of Xen-unstable.
         >
         > You didn't use some specific tag but just 'staging' ?
         >
         >
         >
         > >
         > >
         > > On Fri, Feb 7, 2014 at 4:01 PM, Konrad Rzeszutek Wilk <
         > > [8][email protected]> wrote:
         > >
         > > > On Fri, Feb 07, 2014 at 03:45:19PM -0500, Mike Neiderhauser
         wrote:
         > > > > Ok. I started ran the initscripts and now xl works.
         > > > >
         > > > > However, I still see the same behavior as before:
         > > > >
         > > >
         > > > Did you use the patch that was mentioned in the URL?
         > > >
         > > > > root@fiat:~# xl create /etc/xen/ubuntu-hvm-0.cfg
         > > > > Parsing config from /etc/xen/ubuntu-hvm-0.cfg
         > > > > libxl: error: libxl_qmp.c:448:qmp_next: Socket read error:
         Connection
         > > > reset
         > > > > by peer
         > > > > libxl: error: libxl_qmp.c:691:libxl__qmp_initialize:
         Connection error:
         > > > > Connection refused
         > > > > libxl: error: libxl_qmp.c:691:libxl__qmp_initialize:
         Connection error:
         > > > > Connection refused
         > > > > libxl: error: libxl_qmp.c:691:libxl__qmp_initialize:
         Connection error:
         > > > > Connection refused
         > > > > root@fiat:~# xl list
         > > > > Name                                        ID   Mem VCPUs
         State Time(s)
         > > > > Domain-0                                     0  1024     1
           r-----
         > > > >  15.2
         > > > > ubuntu-hvm-0                                 1  1025     1
           ------
         > > > > 0.0
         > > > >
         > > > > (XEN)  Dom0 kernel: 64-bit, PAE, lsb, paddr 0x1000000 ->
         0x23f3000
         > > > > (XEN) PHYSICAL MEMORY ARRANGEMENT:
         > > > > (XEN)  Dom0 alloc.:   0000000134000000->0000000138000000
         (233690 pages to
         > > > > be allocated)
         > > > > (XEN)  Init. ramdisk: 000000013d0da000->000000013ffffe00
         > > > > (XEN) VIRTUAL MEMORY ARRANGEMENT:
         > > > > (XEN)  Loaded kernel: ffffffff81000000->ffffffff823f3000
         > > > > (XEN)  Init. ramdisk: ffffffff823f3000->ffffffff85318e00
         > > > > (XEN)  Phys-Mach map: ffffffff85319000->ffffffff85519000
         > > > > (XEN)  Start info:    ffffffff85519000->ffffffff855194b4
         > > > > (XEN)  Page tables:   ffffffff8551a000->ffffffff85549000
         > > > > (XEN)  Boot stack:    ffffffff85549000->ffffffff8554a000
         > > > > (XEN)  TOTAL:         ffffffff80000000->ffffffff85800000
         > > > > (XEN)  ENTRY ADDRESS: ffffffff81d261e0
         > > > > (XEN) Dom0 has maximum 1 VCPUs
         > > > > (XEN) elf_load_binary: phdr 0 at 0xffffffff81000000 ->
         0xffffffff81b2f000
         > > > > (XEN) elf_load_binary: phdr 1 at 0xffffffff81c00000 ->
         0xffffffff81d0f0f0
         > > > > (XEN) elf_load_binary: phdr 2 at 0xffffffff81d10000 ->
         0xffffffff81d252c0
         > > > > (XEN) elf_load_binary: phdr 3 at 0xffffffff81d26000 ->
         0xffffffff81e6d000
         > > > > (XEN) Scrubbing Free RAM: .............................done.
         > > > > (XEN) Initial low memory virq threshold set at 0x4000 pages.
         > > > > (XEN) Std. Loglevel: All
         > > > > (XEN) Guest Loglevel: All
         > > > > (XEN) Xen is relinquishing VGA console.
         > > > > (XEN) *** Serial input -> DOM0 (type 'CTRL-a' three times to
         switch input
         > > > > to Xen)
         > > > > (XEN) Freed 260kB init memory.
         > > > > (XEN) PCI add device 0000:00:00.0
         > > > > (XEN) PCI add device 0000:00:01.0
         > > > > (XEN) PCI add device 0000:00:1a.0
         > > > > (XEN) PCI add device 0000:00:1c.0
         > > > > (XEN) PCI add device 0000:00:1d.0
         > > > > (XEN) PCI add device 0000:00:1e.0
         > > > > (XEN) PCI add device 0000:00:1f.0
         > > > > (XEN) PCI add device 0000:00:1f.2
         > > > > (XEN) PCI add device 0000:00:1f.3
         > > > > (XEN) PCI add device 0000:01:00.0
         > > > > (XEN) PCI add device 0000:02:02.0
         > > > > (XEN) PCI add device 0000:02:04.0
         > > > > (XEN) PCI add device 0000:03:00.0
         > > > > (XEN) PCI add device 0000:03:00.1
         > > > > (XEN) PCI add device 0000:04:00.0
         > > > > (XEN) PCI add device 0000:04:00.1
         > > > > (XEN) PCI add device 0000:05:00.0
         > > > > (XEN) PCI add device 0000:05:00.1
         > > > > (XEN) PCI add device 0000:06:03.0
         > > > > (XEN) page_alloc.c:1460:d0 Over-allocation for domain 1:
         262401 > 262400
         > > > > (XEN) memory.c:158:d0 Could not allocate order=0 extent:
         id=1 memflags=0
         > > > > (200 of 1024)
         > > > > (d1) HVM Loader
         > > > > (d1) Detected Xen v4.4-rc2
         > > > > (d1) Xenbus rings @0xfeffc000, event channel 4
         > > > > (d1) System requested SeaBIOS
         > > > > (d1) CPU speed is 3093 MHz
         > > > > (d1) Relocating guest memory for lowmem MMIO space disabled
         > > > >
         > > > >
         > > > > Excerpt from /var/log/xen/*
         > > > > qemu: hardware error: xen: failed to populate ram at
         40050000
         > > > >
         > > > >
         > > > > On Fri, Feb 7, 2014 at 3:39 PM, Konrad Rzeszutek Wilk <
         > > > > [9][email protected]> wrote:
         > > > >
         > > > > > On Fri, Feb 07, 2014 at 03:36:49PM -0500, Mike
         Neiderhauser wrote:
         > > > > > > I was able to compile and install xen4.4 RC3 on my host,
         however I am
         > > > > > > getting the error:
         > > > > > >
         > > > > > > root@fiat:~/git/xen# xl list
         > > > > > > xc: error: Could not obtain handle on privileged command
         interface
         > > > (2 =
         > > > > > No
         > > > > > > such file or directory): Internal error
         > > > > > > libxl: error: libxl.c:92:libxl_ctx_alloc: cannot open
         libxc handle:
         > > > No
         > > > > > such
         > > > > > > file or directory
         > > > > > > cannot init xl context
         > > > > > >
         > > > > > > I've google searched for this and an article appears,
         but is not the
         > > > same
         > > > > > > (as far as I can tell).  Running any xl command
         generates a similar
         > > > > > error.
         > > > > > >
         > > > > > > What can I do to fix this?
         > > > > >
         > > > > >
         > > > > > You need to run the initscripts for Xen. I don't know what
         your distro
         > > > is,
         > > > > > but
         > > > > > they are usually put in /etc/init.d/rc.d/xen*
         > > > > >
         > > > > >
         > > > > > >
         > > > > > > Regards
         > > > > > >
         > > > > > >
         > > > > > > On Fri, Feb 7, 2014 at 1:40 PM, Mike Neiderhauser <
         > > > > > > [10][email protected]> wrote:
         > > > > > >
         > > > > > > > Much. Do I need to install from src or is there a
         package I can
         > > > > > install.
         > > > > > > >
         > > > > > > > Regards
         > > > > > > >
         > > > > > > >
         > > > > > > > On Fri, Feb 7, 2014 at 1:30 PM, Konrad Rzeszutek Wilk
         <
         > > > > > > > [11][email protected]> wrote:
         > > > > > > >
         > > > > > > >> On Fri, Feb 07, 2014 at 10:53:22AM -0500, Mike
         Neiderhauser wrote:
         > > > > > > >> > I did not.  I do not have the toolchain installed.
          I may have
         > > > time
         > > > > > > >> later
         > > > > > > >> > today to try the patch.  Are there any specific
         instructions on
         > > > how
         > > > > > to
         > > > > > > >> > patch the src, compile and install?
         > > > > > > >>
         > > > > > > >> There actually should be a new version of Xen 4.4-rcX
         which will
         > > > have
         > > > > > the
         > > > > > > >> fix. That might be easier for you?
         > > > > > > >> >
         > > > > > > >> > Regards
         > > > > > > >> >
         > > > > > > >> >
         > > > > > > >> > On Fri, Feb 7, 2014 at 10:25 AM, Konrad Rzeszutek
         Wilk <
         > > > > > > >> > [12][email protected]> wrote:
         > > > > > > >> >
         > > > > > > >> > > On Thu, Feb 06, 2014 at 09:39:37AM -0500, Mike
         Neiderhauser
         > > > wrote:
         > > > > > > >> > > > Hi all,
         > > > > > > >> > > >
         > > > > > > >> > > > I am attempting to do a pci passthrough of an
         Intel ET card
         > > > > > (4x1G
         > > > > > > >> NIC)
         > > > > > > >> > > to a
         > > > > > > >> > > > HVM.  I have been attempting to resolve this
         issue on the
         > > > > > xen-users
         > > > > > > >> list,
         > > > > > > >> > > > but it was advised to post this issue to this
         list. (Initial
         > > > > > > >> Message -
         > > > > > > >> > > >
         > > > > > > >> > >
         > > > > > > >>
         > > > > >
         > > >
         [13]http://lists.xenproject.org/archives/html/xen-users/2014-02/msg00036.html
         > > > > > > >> )
         > > > > > > >> > > >
         > > > > > > >> > > > The machine I am using as host is a Dell
         Poweredge server
         > > > with a
         > > > > > > >> Xeon
         > > > > > > >> > > > E31220 with 4GB of ram.
         > > > > > > >> > > >
         > > > > > > >> > > > The possible bug is the following:
         > > > > > > >> > > > root@fiat:/var/log/xen# cat
         qemu-dm-ubuntu-hvm-0.log
         > > > > > > >> > > > char device redirected to /dev/pts/5 (label
         serial0)
         > > > > > > >> > > > qemu: hardware error: xen: failed to populate
         ram at
         > > > 40030000
         > > > > > > >> > > > ....
         > > > > > > >> > > >
         > > > > > > >> > > > I believe it may be similar to this thread
         > > > > > > >> > > >
         > > > > > > >> > >
         > > > > > > >>
         > > > > >
         > > >
         [14]http://markmail.org/message/3zuiojywempoorxj#query:+page:1+mid:gul34vbe4uyog2d4+state:results
         > > > > > > >> > > >
         > > > > > > >> > > >
         > > > > > > >> > > > Additional info that may be helpful is below.
         > > > > > > >> > >
         > > > > > > >> > > Did you try the patch?
         > > > > > > >> > > >
         > > > > > > >> > > > Please let me know if you need any additional
         information.
         > > > > > > >> > > >
         > > > > > > >> > > > Thanks in advance for any help provided!
         > > > > > > >> > > > Regards
         > > > > > > >> > > >
         > > > > > > >> > > >
         ###########################################################
         > > > > > > >> > > > root@fiat:~# cat /etc/xen/ubuntu-hvm-0.cfg
         > > > > > > >> > > >
         ###########################################################
         > > > > > > >> > > > # Configuration file for Xen HVM
         > > > > > > >> > > >
         > > > > > > >> > > > # HVM Name (as appears in 'xl list')
         > > > > > > >> > > > name="ubuntu-hvm-0"
         > > > > > > >> > > > # HVM Build settings (+ hardware)
         > > > > > > >> > > > #kernel = "/usr/lib/xen-4.3/boot/hvmloader"
         > > > > > > >> > > > builder='hvm'
         > > > > > > >> > > > device_model='qemu-dm'
         > > > > > > >> > > > memory=1024
         > > > > > > >> > > > vcpus=2
         > > > > > > >> > > >
         > > > > > > >> > > > # Virtual Interface
         > > > > > > >> > > > # Network bridge to USB NIC
         > > > > > > >> > > > vif=['bridge=xenbr0']
         > > > > > > >> > > >
         > > > > > > >> > > > ################### PCI PASSTHROUGH
         ###################
         > > > > > > >> > > > # PCI Permissive mode toggle
         > > > > > > >> > > > #pci_permissive=1
         > > > > > > >> > > >
         > > > > > > >> > > > # All PCI Devices
         > > > > > > >> > > > #pci=['03:00.0', '03:00.1', '04:00.0',
         '04:00.1', '05:00.0',
         > > > > > > >> '05:00.1']
         > > > > > > >> > > >
         > > > > > > >> > > > # First two ports on Intel 4x1G NIC
         > > > > > > >> > > > #pci=['03:00.0','03:00.1']
         > > > > > > >> > > >
         > > > > > > >> > > > # Last two ports on Intel 4x1G NIC
         > > > > > > >> > > > #pci=['04:00.0', '04:00.1']
         > > > > > > >> > > >
         > > > > > > >> > > > # All ports on Intel 4x1G NIC
         > > > > > > >> > > > pci=['03:00.0', '03:00.1', '04:00.0',
         '04:00.1']
         > > > > > > >> > > >
         > > > > > > >> > > > # Brodcom 2x1G NIC
         > > > > > > >> > > > #pci=['05:00.0', '05:00.1']
         > > > > > > >> > > > ################### PCI PASSTHROUGH
         ###################
         > > > > > > >> > > >
         > > > > > > >> > > > # HVM Disks
         > > > > > > >> > > > # Hard disk only
         > > > > > > >> > > > # Boot from HDD first ('c')
         > > > > > > >> > > > boot="c"
         > > > > > > >> > > > disk=['phy:/dev/ubuntu-vg/ubuntu-hvm-0,hda,w']
         > > > > > > >> > > >
         > > > > > > >> > > > # Hard disk with ISO
         > > > > > > >> > > > # Boot from ISO first ('d')
         > > > > > > >> > > > #boot="d"
         > > > > > > >> > > > #disk=['phy:/dev/ubuntu-vg/ubuntu-hvm-0,hda,w',
         > > > > > > >> > > >
         'file:/root/ubuntu-12.04.3-server-amd64.iso,hdc:cdrom,r']
         > > > > > > >> > > >
         > > > > > > >> > > > # ACPI Enable
         > > > > > > >> > > > acpi=1
         > > > > > > >> > > > # HVM Event Modes
         > > > > > > >> > > > on_poweroff='destroy'
         > > > > > > >> > > > on_reboot='restart'
         > > > > > > >> > > > on_crash='restart'
         > > > > > > >> > > >
         > > > > > > >> > > > # Serial Console Configuration (Xen Console)
         > > > > > > >> > > > sdl=0
         > > > > > > >> > > > serial='pty'
         > > > > > > >> > > >
         > > > > > > >> > > > # VNC Configuration
         > > > > > > >> > > > # Only reacable from localhost
         > > > > > > >> > > > vnc=1
         > > > > > > >> > > > vnclisten="0.0.0.0"
         > > > > > > >> > > > vncpasswd=""
         > > > > > > >> > > >
         > > > > > > >> > > >
         ###########################################################
         > > > > > > >> > > > Copied for xen-users list
         > > > > > > >> > > >
         ###########################################################
         > > > > > > >> > > >
         > > > > > > >> > > > It appears that it cannot obtain the RAM
         mapping for this
         > > > PCI
         > > > > > > >> device.
         > > > > > > >> > > >
         > > > > > > >> > > >
         > > > > > > >> > > > I rebooted the Host.  I ran assigned pci
         devices to
         > > > pciback. The
         > > > > > > >> output
         > > > > > > >> > > > looks like:
         > > > > > > >> > > > root@fiat:~# ./dev_mgmt.sh
         > > > > > > >> > > > Loading Kernel Module 'xen-pciback'
         > > > > > > >> > > > Calling function pciback_dev for:
         > > > > > > >> > > > PCI DEVICE 0000:03:00.0
         > > > > > > >> > > > Unbinding 0000:03:00.0 from igb
         > > > > > > >> > > > Binding 0000:03:00.0 to pciback
         > > > > > > >> > > >
         > > > > > > >> > > > PCI DEVICE 0000:03:00.1
         > > > > > > >> > > > Unbinding 0000:03:00.1 from igb
         > > > > > > >> > > > Binding 0000:03:00.1 to pciback
         > > > > > > >> > > >
         > > > > > > >> > > > PCI DEVICE 0000:04:00.0
         > > > > > > >> > > > Unbinding 0000:04:00.0 from igb
         > > > > > > >> > > > Binding 0000:04:00.0 to pciback
         > > > > > > >> > > >
         > > > > > > >> > > > PCI DEVICE 0000:04:00.1
         > > > > > > >> > > > Unbinding 0000:04:00.1 from igb
         > > > > > > >> > > > Binding 0000:04:00.1 to pciback
         > > > > > > >> > > >
         > > > > > > >> > > > PCI DEVICE 0000:05:00.0
         > > > > > > >> > > > Unbinding 0000:05:00.0 from bnx2
         > > > > > > >> > > > Binding 0000:05:00.0 to pciback
         > > > > > > >> > > >
         > > > > > > >> > > > PCI DEVICE 0000:05:00.1
         > > > > > > >> > > > Unbinding 0000:05:00.1 from bnx2
         > > > > > > >> > > > Binding 0000:05:00.1 to pciback
         > > > > > > >> > > >
         > > > > > > >> > > > Listing PCI Devices Available to Xen
         > > > > > > >> > > > 0000:03:00.0
         > > > > > > >> > > > 0000:03:00.1
         > > > > > > >> > > > 0000:04:00.0
         > > > > > > >> > > > 0000:04:00.1
         > > > > > > >> > > > 0000:05:00.0
         > > > > > > >> > > > 0000:05:00.1
         > > > > > > >> > > >
         > > > > > > >> > > >
         ###########################################################
         > > > > > > >> > > > root@fiat:~# xl -vvv create
         /etc/xen/ubuntu-hvm-0.cfg
         > > > > > > >> > > > Parsing config from /etc/xen/ubuntu-hvm-0.cfg
         > > > > > > >> > > > WARNING: ignoring device_model directive.
         > > > > > > >> > > > WARNING: Use "device_model_override" instead if
         you really
         > > > want
         > > > > > a
         > > > > > > >> > > > non-default device_model
         > > > > > > >> > > > libxl: debug:
         libxl_create.c:1230:do_domain_create: ao
         > > > > > 0x210c360:
         > > > > > > >> create:
         > > > > > > >> > > > how=(nil) callback=(nil) poller=0x210c3c0
         > > > > > > >> > > > libxl: debug:
         > > > libxl_device.c:257:libxl__device_disk_set_backend:
         > > > > > > >> Disk
         > > > > > > >> > > > vdev=hda spec.backend=unknown
         > > > > > > >> > > > libxl: debug:
         > > > libxl_device.c:296:libxl__device_disk_set_backend:
         > > > > > > >> Disk
         > > > > > > >> > > > vdev=hda, using backend phy
         > > > > > > >> > > > libxl: debug:
         libxl_create.c:675:initiate_domain_create:
         > > > running
         > > > > > > >> > > bootloader
         > > > > > > >> > > > libxl: debug:
         libxl_bootloader.c:321:libxl__bootloader_run:
         > > > not
         > > > > > a PV
         > > > > > > >> > > > domain, skipping bootloader
         > > > > > > >> > > > libxl: debug:
         > > > libxl_event.c:608:libxl__ev_xswatch_deregister:
         > > > > > watch
         > > > > > > >> > > > w=0x210c728: deregister unregistered
         > > > > > > >> > > > libxl: debug:
         libxl_numa.c:475:libxl__get_numa_candidate:
         > > > New
         > > > > > best
         > > > > > > >> NUMA
         > > > > > > >> > > > placement candidate found: nr_nodes=1,
         nr_cpus=4,
         > > > nr_vcpus=3,
         > > > > > > >> > > > free_memkb=2980
         > > > > > > >> > > > libxl: detail:
         libxl_dom.c:195:numa_place_domain: NUMA
         > > > placement
         > > > > > > >> > > candidate
         > > > > > > >> > > > with 1 nodes, 4 cpus and 2980 KB free selected
         > > > > > > >> > > > xc: detail: elf_parse_binary: phdr:
         paddr=0x100000
         > > > memsz=0xa69a4
         > > > > > > >> > > > xc: detail: elf_parse_binary: memory: 0x100000
         -> 0x1a69a4
         > > > > > > >> > > > xc: info: VIRTUAL MEMORY ARRANGEMENT:
         > > > > > > >> > > >   Loader:
          0000000000100000->00000000001a69a4
         > > > > > > >> > > >   Modules:
         0000000000000000->0000000000000000
         > > > > > > >> > > >   TOTAL:
         0000000000000000->000000003f800000
         > > > > > > >> > > >   ENTRY ADDRESS: 0000000000100608
         > > > > > > >> > > > xc: info: PHYSICAL MEMORY ALLOCATION:
         > > > > > > >> > > >   4KB PAGES: 0x0000000000000200
         > > > > > > >> > > >   2MB PAGES: 0x00000000000001fb
         > > > > > > >> > > >   1GB PAGES: 0x0000000000000000
         > > > > > > >> > > > xc: detail: elf_load_binary: phdr 0 at
         0x7f022c779000 ->
         > > > > > > >> 0x7f022c81682d
         > > > > > > >> > > > libxl: debug:
         > > > libxl_device.c:257:libxl__device_disk_set_backend:
         > > > > > > >> Disk
         > > > > > > >> > > > vdev=hda spec.backend=phy
         > > > > > > >> > > > libxl: debug:
         libxl_event.c:559:libxl__ev_xswatch_register:
         > > > > > watch
         > > > > > > >> > > > w=0x2112f48
         wpath=/local/domain/0/backend/vbd/2/768/state
         > > > > > token=3/0:
         > > > > > > >> > > > register slotnum=3
         > > > > > > >> > > > libxl: debug:
         libxl_create.c:1243:do_domain_create: ao
         > > > > > 0x210c360:
         > > > > > > >> > > > inprogress: poller=0x210c3c0, flags=i
         > > > > > > >> > > > libxl: debug:
         libxl_event.c:503:watchfd_callback: watch
         > > > > > w=0x2112f48
         > > > > > > >> > > > wpath=/local/domain/0/backend/vbd/2/768/state
         token=3/0:
         > > > event
         > > > > > > >> > > > epath=/local/domain/0/backend/vbd/2/768/state
         > > > > > > >> > > > libxl: debug:
         libxl_event.c:647:devstate_watch_callback:
         > > > backend
         > > > > > > >> > > > /local/domain/0/backend/vbd/2/768/state wanted
         state 2 still
         > > > > > waiting
         > > > > > > >> > > state 1
         > > > > > > >> > > > libxl: debug:
         libxl_event.c:503:watchfd_callback: watch
         > > > > > w=0x2112f48
         > > > > > > >> > > > wpath=/local/domain/0/backend/vbd/2/768/state
         token=3/0:
         > > > event
         > > > > > > >> > > > epath=/local/domain/0/backend/vbd/2/768/state
         > > > > > > >> > > > libxl: debug:
         libxl_event.c:643:devstate_watch_callback:
         > > > backend
         > > > > > > >> > > > /local/domain/0/backend/vbd/2/768/state wanted
         state 2 ok
         > > > > > > >> > > > libxl: debug:
         > > > libxl_event.c:596:libxl__ev_xswatch_deregister:
         > > > > > watch
         > > > > > > >> > > > w=0x2112f48
         wpath=/local/domain/0/backend/vbd/2/768/state
         > > > > > token=3/0:
         > > > > > > >> > > > deregister slotnum=3
         > > > > > > >> > > > libxl: debug:
         > > > libxl_event.c:608:libxl__ev_xswatch_deregister:
         > > > > > watch
         > > > > > > >> > > > w=0x2112f48: deregister unregistered
         > > > > > > >> > > > libxl: debug:
         libxl_device.c:959:device_hotplug: calling
         > > > hotplug
         > > > > > > >> script:
         > > > > > > >> > > > /etc/xen/scripts/block add
         > > > > > > >> > > > libxl: debug:
         libxl_dm.c:1206:libxl__spawn_local_dm:
         > > > Spawning
         > > > > > > >> > > device-model
         > > > > > > >> > > > /usr/bin/qemu-system-i386 with arguments:
         > > > > > > >> > > > libxl: debug:
         libxl_dm.c:1208:libxl__spawn_local_dm:
         > > > > > > >> > > > /usr/bin/qemu-system-i386
         > > > > > > >> > > > libxl: debug:
         libxl_dm.c:1208:libxl__spawn_local_dm:
         > > > > > -xen-domid
         > > > > > > >> > > > libxl: debug:
         libxl_dm.c:1208:libxl__spawn_local_dm:   2
         > > > > > > >> > > > libxl: debug:
         libxl_dm.c:1208:libxl__spawn_local_dm:
         > > > -chardev
         > > > > > > >> > > > libxl: debug:
         libxl_dm.c:1208:libxl__spawn_local_dm:
         > > > > > > >> > > >
         > > >
         socket,id=libxl-cmd,path=/var/run/xen/qmp-libxl-2,server,nowait
         > > > > > > >> > > > libxl: debug:
         libxl_dm.c:1208:libxl__spawn_local_dm:   -mon
         > > > > > > >> > > > libxl: debug:
         libxl_dm.c:1208:libxl__spawn_local_dm:
         > > > > > > >> > > > chardev=libxl-cmd,mode=control
         > > > > > > >> > > > libxl: debug:
         libxl_dm.c:1208:libxl__spawn_local_dm:   -name
         > > > > > > >> > > > libxl: debug:
         libxl_dm.c:1208:libxl__spawn_local_dm:
         > > > > > ubuntu-hvm-0
         > > > > > > >> > > > libxl: debug:
         libxl_dm.c:1208:libxl__spawn_local_dm:   -vnc
         > > > > > > >> > > > libxl: debug:
         libxl_dm.c:1208:libxl__spawn_local_dm:
         > > > > > [15]0.0.0.0:0
         > > > > > > >> ,to=99
         > > > > > > >> > > > libxl: debug:
         libxl_dm.c:1208:libxl__spawn_local_dm:
         > > > -global
         > > > > > > >> > > > libxl: debug:
         libxl_dm.c:1208:libxl__spawn_local_dm:
         > > > > > > >> isa-fdc.driveA=
         > > > > > > >> > > > libxl: debug:
         libxl_dm.c:1208:libxl__spawn_local_dm:
         > > > -serial
         > > > > > > >> > > > libxl: debug:
         libxl_dm.c:1208:libxl__spawn_local_dm:   pty
         > > > > > > >> > > > libxl: debug:
         libxl_dm.c:1208:libxl__spawn_local_dm:   -vga
         > > > > > > >> > > > libxl: debug:
         libxl_dm.c:1208:libxl__spawn_local_dm:
         > > > cirrus
         > > > > > > >> > > > libxl: debug:
         libxl_dm.c:1208:libxl__spawn_local_dm:
         > > > -global
         > > > > > > >> > > > libxl: debug:
         libxl_dm.c:1208:libxl__spawn_local_dm:
         > > > > > > >> vga.vram_size_mb=8
         > > > > > > >> > > > libxl: debug:
         libxl_dm.c:1208:libxl__spawn_local_dm:   -boot
         > > > > > > >> > > > libxl: debug:
         libxl_dm.c:1208:libxl__spawn_local_dm:
         > > > order=c
         > > > > > > >> > > > libxl: debug:
         libxl_dm.c:1208:libxl__spawn_local_dm:   -smp
         > > > > > > >> > > > libxl: debug:
         libxl_dm.c:1208:libxl__spawn_local_dm:
         > > > > > 2,maxcpus=2
         > > > > > > >> > > > libxl: debug:
         libxl_dm.c:1208:libxl__spawn_local_dm:
         > > > -device
         > > > > > > >> > > > libxl: debug:
         libxl_dm.c:1208:libxl__spawn_local_dm:
         > > > > > > >> > > >
         rtl8139,id=nic0,netdev=net0,mac=00:16:3e:23:44:2c
         > > > > > > >> > > > libxl: debug:
         libxl_dm.c:1208:libxl__spawn_local_dm:
         > > > -netdev
         > > > > > > >> > > > libxl: debug:
         libxl_dm.c:1208:libxl__spawn_local_dm:
         > > > > > > >> > > >
         type=tap,id=net0,ifname=vif2.0-emu,script=no,downscript=no
         > > > > > > >> > > > libxl: debug:
         libxl_dm.c:1208:libxl__spawn_local_dm:   -M
         > > > > > > >> > > > libxl: debug:
         libxl_dm.c:1208:libxl__spawn_local_dm:   xenfv
         > > > > > > >> > > > libxl: debug:
         libxl_dm.c:1208:libxl__spawn_local_dm:   -m
         > > > > > > >> > > > libxl: debug:
         libxl_dm.c:1208:libxl__spawn_local_dm:   1016
         > > > > > > >> > > > libxl: debug:
         libxl_dm.c:1208:libxl__spawn_local_dm:
         > > > -drive
         > > > > > > >> > > > libxl: debug:
         libxl_dm.c:1208:libxl__spawn_local_dm:
         > > > > > > >> > > >
         > > > > > > >> > >
         > > > > > > >>
         > > > > >
         > > >
         file=/dev/ubuntu-vg/ubuntu-hvm-0,if=ide,index=0,media=disk,format=raw,cache=writeback
         > > > > > > >> > > > libxl: debug:
         libxl_event.c:559:libxl__ev_xswatch_register:
         > > > > > watch
         > > > > > > >> > > > w=0x210c960
         wpath=/local/domain/0/device-model/2/state
         > > > > > token=3/1:
         > > > > > > >> > > register
         > > > > > > >> > > > slotnum=3
         > > > > > > >> > > > libxl: debug:
         libxl_event.c:503:watchfd_callback: watch
         > > > > > w=0x210c960
         > > > > > > >> > > > wpath=/local/domain/0/device-model/2/state
         token=3/1: event
         > > > > > > >> > > > epath=/local/domain/0/device-model/2/state
         > > > > > > >> > > > libxl: debug:
         libxl_event.c:503:watchfd_callback: watch
         > > > > > w=0x210c960
         > > > > > > >> > > > wpath=/local/domain/0/device-model/2/state
         token=3/1: event
         > > > > > > >> > > > epath=/local/domain/0/device-model/2/state
         > > > > > > >> > > > libxl: debug:
         > > > libxl_event.c:596:libxl__ev_xswatch_deregister:
         > > > > > watch
         > > > > > > >> > > > w=0x210c960
         wpath=/local/domain/0/device-model/2/state
         > > > > > token=3/1:
         > > > > > > >> > > > deregister slotnum=3
         > > > > > > >> > > > libxl: debug:
         > > > libxl_event.c:608:libxl__ev_xswatch_deregister:
         > > > > > watch
         > > > > > > >> > > > w=0x210c960: deregister unregistered
         > > > > > > >> > > > libxl: debug:
         libxl_qmp.c:707:libxl__qmp_initialize:
         > > > connected
         > > > > > to
         > > > > > > >> > > > /var/run/xen/qmp-libxl-2
         > > > > > > >> > > > libxl: debug:
         libxl_qmp.c:299:qmp_handle_response: message
         > > > > > type: qmp
         > > > > > > >> > > > libxl: debug: libxl_qmp.c:555:qmp_send_prepare:
         next qmp
         > > > > > command: '{
         > > > > > > >> > > >     "execute": "qmp_capabilities",
         > > > > > > >> > > >     "id": 1
         > > > > > > >> > > > }
         > > > > > > >> > > > '
         > > > > > > >> > > > libxl: debug:
         libxl_qmp.c:299:qmp_handle_response: message
         > > > type:
         > > > > > > >> return
         > > > > > > >> > > > libxl: debug: libxl_qmp.c:555:qmp_send_prepare:
         next qmp
         > > > > > command: '{
         > > > > > > >> > > >     "execute": "query-chardev",
         > > > > > > >> > > >     "id": 2
         > > > > > > >> > > > }
         > > > > > > >> > > > '
         > > > > > > >> > > > libxl: debug:
         libxl_qmp.c:299:qmp_handle_response: message
         > > > type:
         > > > > > > >> return
         > > > > > > >> > > > libxl: debug: libxl_qmp.c:555:qmp_send_prepare:
         next qmp
         > > > > > command: '{
         > > > > > > >> > > >     "execute": "change",
         > > > > > > >> > > >     "id": 3,
         > > > > > > >> > > >     "arguments": {
         > > > > > > >> > > >         "device": "vnc",
         > > > > > > >> > > >         "target": "password",
         > > > > > > >> > > >         "arg": ""
         > > > > > > >> > > >     }
         > > > > > > >> > > > }
         > > > > > > >> > > > '
         > > > > > > >> > > > libxl: debug:
         libxl_qmp.c:299:qmp_handle_response: message
         > > > type:
         > > > > > > >> return
         > > > > > > >> > > > libxl: debug: libxl_qmp.c:555:qmp_send_prepare:
         next qmp
         > > > > > command: '{
         > > > > > > >> > > >     "execute": "query-vnc",
         > > > > > > >> > > >     "id": 4
         > > > > > > >> > > > }
         > > > > > > >> > > > '
         > > > > > > >> > > > libxl: debug:
         libxl_qmp.c:299:qmp_handle_response: message
         > > > type:
         > > > > > > >> return
         > > > > > > >> > > > libxl: debug:
         libxl_event.c:559:libxl__ev_xswatch_register:
         > > > > > watch
         > > > > > > >> > > > w=0x210e8a8
         wpath=/local/domain/0/backend/vif/2/0/state
         > > > > > token=3/2:
         > > > > > > >> > > register
         > > > > > > >> > > > slotnum=3
         > > > > > > >> > > > libxl: debug:
         libxl_event.c:503:watchfd_callback: watch
         > > > > > w=0x210e8a8
         > > > > > > >> > > > wpath=/local/domain/0/backend/vif/2/0/state
         token=3/2: event
         > > > > > > >> > > > epath=/local/domain/0/backend/vif/2/0/state
         > > > > > > >> > > > libxl: debug:
         libxl_event.c:647:devstate_watch_callback:
         > > > backend
         > > > > > > >> > > > /local/domain/0/backend/vif/2/0/state wanted
         state 2 still
         > > > > > waiting
         > > > > > > >> state
         > > > > > > >> > > 1
         > > > > > > >> > > > libxl: debug:
         libxl_event.c:503:watchfd_callback: watch
         > > > > > w=0x210e8a8
         > > > > > > >> > > > wpath=/local/domain/0/backend/vif/2/0/state
         token=3/2: event
         > > > > > > >> > > > epath=/local/domain/0/backend/vif/2/0/state
         > > > > > > >> > > > libxl: debug:
         libxl_event.c:643:devstate_watch_callback:
         > > > backend
         > > > > > > >> > > > /local/domain/0/backend/vif/2/0/state wanted
         state 2 ok
         > > > > > > >> > > > libxl: debug:
         > > > libxl_event.c:596:libxl__ev_xswatch_deregister:
         > > > > > watch
         > > > > > > >> > > > w=0x210e8a8
         wpath=/local/domain/0/backend/vif/2/0/state
         > > > > > token=3/2:
         > > > > > > >> > > > deregister slotnum=3
         > > > > > > >> > > > libxl: debug:
         > > > libxl_event.c:608:libxl__ev_xswatch_deregister:
         > > > > > watch
         > > > > > > >> > > > w=0x210e8a8: deregister unregistered
         > > > > > > >> > > > libxl: debug:
         libxl_device.c:959:device_hotplug: calling
         > > > hotplug
         > > > > > > >> script:
         > > > > > > >> > > > /etc/xen/scripts/vif-bridge online
         > > > > > > >> > > > libxl: debug:
         libxl_device.c:959:device_hotplug: calling
         > > > hotplug
         > > > > > > >> script:
         > > > > > > >> > > > /etc/xen/scripts/vif-bridge add
         > > > > > > >> > > > libxl: debug:
         libxl_qmp.c:707:libxl__qmp_initialize:
         > > > connected
         > > > > > to
         > > > > > > >> > > > /var/run/xen/qmp-libxl-2
         > > > > > > >> > > > libxl: debug:
         libxl_qmp.c:299:qmp_handle_response: message
         > > > > > type: qmp
         > > > > > > >> > > > libxl: debug: libxl_qmp.c:555:qmp_send_prepare:
         next qmp
         > > > > > command: '{
         > > > > > > >> > > >     "execute": "qmp_capabilities",
         > > > > > > >> > > >     "id": 1
         > > > > > > >> > > > }
         > > > > > > >> > > > '
         > > > > > > >> > > > libxl: debug:
         libxl_qmp.c:299:qmp_handle_response: message
         > > > type:
         > > > > > > >> return
         > > > > > > >> > > > libxl: debug: libxl_qmp.c:555:qmp_send_prepare:
         next qmp
         > > > > > command: '{
         > > > > > > >> > > >     "execute": "device_add",
         > > > > > > >> > > >     "id": 2,
         > > > > > > >> > > >     "arguments": {
         > > > > > > >> > > >         "driver": "xen-pci-passthrough",
         > > > > > > >> > > >         "id": "pci-pt-03_00.0",
         > > > > > > >> > > >         "hostaddr": "0000:03:00.0"
         > > > > > > >> > > >     }
         > > > > > > >> > > > }
         > > > > > > >> > > > '
         > > > > > > >> > > > libxl: error: libxl_qmp.c:454:qmp_next: Socket
         read error:
         > > > > > > >> Connection
         > > > > > > >> > > reset
         > > > > > > >> > > > by peer
         > > > > > > >> > > > libxl: error:
         libxl_qmp.c:702:libxl__qmp_initialize:
         > > > Connection
         > > > > > > >> error:
         > > > > > > >> > > > Connection refused
         > > > > > > >> > > > libxl: error:
         libxl_qmp.c:702:libxl__qmp_initialize:
         > > > Connection
         > > > > > > >> error:
         > > > > > > >> > > > Connection refused
         > > > > > > >> > > > libxl: error:
         libxl_qmp.c:702:libxl__qmp_initialize:
         > > > Connection
         > > > > > > >> error:
         > > > > > > >> > > > Connection refused
         > > > > > > >> > > > libxl: debug:
         libxl_pci.c:81:libxl__create_pci_backend:
         > > > > > Creating pci
         > > > > > > >> > > backend
         > > > > > > >> > > > libxl: debug:
         libxl_event.c:1737:libxl__ao_progress_report:
         > > > ao
         > > > > > > >> 0x210c360:
         > > > > > > >> > > > progress report: ignored
         > > > > > > >> > > > libxl: debug:
         libxl_event.c:1569:libxl__ao_complete: ao
         > > > > > 0x210c360:
         > > > > > > >> > > > complete, rc=0
         > > > > > > >> > > > libxl: debug:
         libxl_event.c:1541:libxl__ao__destroy: ao
         > > > > > 0x210c360:
         > > > > > > >> > > destroy
         > > > > > > >> > > > Daemon running with PID 3214
         > > > > > > >> > > > xc: debug: hypercall buffer: total
         allocations:793 total
         > > > > > > >> releases:793
         > > > > > > >> > > > xc: debug: hypercall buffer: current
         allocations:0 maximum
         > > > > > > >> allocations:4
         > > > > > > >> > > > xc: debug: hypercall buffer: cache current
         size:4
         > > > > > > >> > > > xc: debug: hypercall buffer: cache hits:785
         misses:4
         > > > toobig:4
         > > > > > > >> > > >
         > > > > > > >> > > >
         ###########################################################
         > > > > > > >> > > > root@fiat:/var/log/xen# cat
         qemu-dm-ubuntu-hvm-0.log
         > > > > > > >> > > > char device redirected to /dev/pts/5 (label
         serial0)
         > > > > > > >> > > > qemu: hardware error: xen: failed to populate
         ram at
         > > > 40030000
         > > > > > > >> > > > CPU #0:
         > > > > > > >> > > > EAX=00000000 EBX=00000000 ECX=00000000
         EDX=00000633
         > > > > > > >> > > > ESI=00000000 EDI=00000000 EBP=00000000
         ESP=00000000
         > > > > > > >> > > > EIP=0000fff0 EFL=00000002 [-------] CPL=0 II=0
         A20=1 SMM=0
         > > > HLT=1
         > > > > > > >> > > > ES =0000 00000000 0000ffff 00009300
         > > > > > > >> > > > CS =f000 ffff0000 0000ffff 00009b00
         > > > > > > >> > > > SS =0000 00000000 0000ffff 00009300
         > > > > > > >> > > > DS =0000 00000000 0000ffff 00009300
         > > > > > > >> > > > FS =0000 00000000 0000ffff 00009300
         > > > > > > >> > > > GS =0000 00000000 0000ffff 00009300
         > > > > > > >> > > > LDT=0000 00000000 0000ffff 00008200
         > > > > > > >> > > > TR =0000 00000000 0000ffff 00008b00
         > > > > > > >> > > > GDT=     00000000 0000ffff
         > > > > > > >> > > > IDT=     00000000 0000ffff
         > > > > > > >> > > > CR0=60000010 CR2=00000000 CR3=00000000
         CR4=00000000
         > > > > > > >> > > > DR0=00000000 DR1=00000000 DR2=00000000
         DR3=00000000
         > > > > > > >> > > > DR6=ffff0ff0 DR7=00000400
         > > > > > > >> > > > EFER=0000000000000000
         > > > > > > >> > > > FCW=037f FSW=0000 [ST=0] FTW=00 MXCSR=00001f80
         > > > > > > >> > > > FPR0=0000000000000000 0000
         FPR1=0000000000000000 0000
         > > > > > > >> > > > FPR2=0000000000000000 0000
         FPR3=0000000000000000 0000
         > > > > > > >> > > > FPR4=0000000000000000 0000
         FPR5=0000000000000000 0000
         > > > > > > >> > > > FPR6=0000000000000000 0000
         FPR7=0000000000000000 0000
         > > > > > > >> > > > XMM00=00000000000000000000000000000000
         > > > > > > >> > > > XMM01=00000000000000000000000000000000
         > > > > > > >> > > > XMM02=00000000000000000000000000000000
         > > > > > > >> > > > XMM03=00000000000000000000000000000000
         > > > > > > >> > > > XMM04=00000000000000000000000000000000
         > > > > > > >> > > > XMM05=00000000000000000000000000000000
         > > > > > > >> > > > XMM06=00000000000000000000000000000000
         > > > > > > >> > > > XMM07=00000000000000000000000000000000
         > > > > > > >> > > > CPU #1:
         > > > > > > >> > > > EAX=00000000 EBX=00000000 ECX=00000000
         EDX=00000633
         > > > > > > >> > > > ESI=00000000 EDI=00000000 EBP=00000000
         ESP=00000000
         > > > > > > >> > > > EIP=0000fff0 EFL=00000002 [-------] CPL=0 II=0
         A20=1 SMM=0
         > > > HLT=1
         > > > > > > >> > > > ES =0000 00000000 0000ffff 00009300
         > > > > > > >> > > > CS =f000 ffff0000 0000ffff 00009b00
         > > > > > > >> > > > SS =0000 00000000 0000ffff 00009300
         > > > > > > >> > > > DS =0000 00000000 0000ffff 00009300
         > > > > > > >> > > > FS =0000 00000000 0000ffff 00009300
         > > > > > > >> > > > GS =0000 00000000 0000ffff 00009300
         > > > > > > >> > > > LDT=0000 00000000 0000ffff 00008200
         > > > > > > >> > > > TR =0000 00000000 0000ffff 00008b00
         > > > > > > >> > > > GDT=     00000000 0000ffff
         > > > > > > >> > > > IDT=     00000000 0000ffff
         > > > > > > >> > > > CR0=60000010 CR2=00000000 CR3=00000000
         CR4=00000000
         > > > > > > >> > > > DR0=00000000 DR1=00000000 DR2=00000000
         DR3=00000000
         > > > > > > >> > > > DR6=ffff0ff0 DR7=00000400
         > > > > > > >> > > > EFER=0000000000000000
         > > > > > > >> > > > FCW=037f FSW=0000 [ST=0] FTW=00 MXCSR=00001f80
         > > > > > > >> > > > FPR0=0000000000000000 0000
         FPR1=0000000000000000 0000
         > > > > > > >> > > > FPR2=0000000000000000 0000
         FPR3=0000000000000000 0000
         > > > > > > >> > > > FPR4=0000000000000000 0000
         FPR5=0000000000000000 0000
         > > > > > > >> > > > FPR6=0000000000000000 0000
         FPR7=0000000000000000 0000
         > > > > > > >> > > > XMM00=00000000000000000000000000000000
         > > > > > > >> > > > XMM01=00000000000000000000000000000000
         > > > > > > >> > > > XMM02=00000000000000000000000000000000
         > > > > > > >> > > > XMM03=00000000000000000000000000000000
         > > > > > > >> > > > XMM04=00000000000000000000000000000000
         > > > > > > >> > > > XMM05=00000000000000000000000000000000
         > > > > > > >> > > > XMM06=00000000000000000000000000000000
         > > > > > > >> > > > XMM07=00000000000000000000000000000000
         > > > > > > >> > > >
         > > > > > > >> > > >
         ###########################################################
         > > > > > > >> > > > /etc/default/grub
         > > > > > > >> > > > GRUB_DEFAULT="Xen 4.3-amd64"
         > > > > > > >> > > > GRUB_HIDDEN_TIMEOUT=0
         > > > > > > >> > > > GRUB_HIDDEN_TIMEOUT_QUIET=true
         > > > > > > >> > > > GRUB_TIMEOUT=10
         > > > > > > >> > > > GRUB_DISTRIBUTOR=`lsb_release -i -s 2>
         /dev/null || echo
         > > > Debian`
         > > > > > > >> > > > GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
         > > > > > > >> > > > GRUB_CMDLINE_LINUX=""
         > > > > > > >> > > > # biosdevname=0
         > > > > > > >> > > > GRUB_CMDLINE_XEN="dom0_mem=1024M
         dom0_max_vcpus=1"
         > > > > > > >> > >
         > > > > > > >> > > > _______________________________________________
         > > > > > > >> > > > Xen-devel mailing list
         > > > > > > >> > > > [16][email protected]
         > > > > > > >> > > > [17]http://lists.xen.org/xen-devel
         > > > > > > >> > >
         > > > > > > >> > >
         > > > > > > >>
         > > > > > > >
         > > > > > > >
         > > > > >
         > > >
         >

       >

References

Visible links
1. mailto:[email protected]
2. mailto:[email protected]
3. mailto:[email protected]
4. http://wiki.xenproject.org/wiki/Xen_4.4_RC3_test_instructions
5. http://wiki.xen.org/wiki/Compiling_Xen_From_Source
6. http://xenbits.xen.org/xen.git
7. mailto:[email protected]
8. mailto:[email protected]
9. mailto:[email protected]
10. mailto:[email protected]
11. mailto:[email protected]
12. mailto:[email protected]
13. http://lists.xenproject.org/archives/html/xen-users/2014-02/msg00036.html
14. http://markmail.org/message/3zuiojywempoorxj#query:+page:1+mid:gul34vbe4uyog2d4+state:results
15. http://0.0.0.0:0/
16. mailto:[email protected]
17. http://lists.xen.org/xen-devel

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel

#4 lore raw
In reply to Mike Neiderhauser
Quoted 9 lines · Mike Neiderhauser

Works like a charm. I do not have physical access to the computer this weekend to verify that the cards are isolated, but the HVM starts and appears to be working well.

When do you think Xen 4.4 will be released. The article I read mentioned it will be released in 2014 (hinting towards the end of February). I also read 'When it is ready.'

Any timeline would be great.

I'm afraid that's about all we can give. :-) We've locked down development for 2 months now and are working on finding and fixing bugs. If there are no more blocker bugs or other unforeseen delays, it should be out by the end of February. But there are necessarily significant unknowns, so we can't make any promises.

-George

#5 lore raw

Thanks for the answers on the timeline.

When I start the HVM with th broadcom adapter, I get this message back. Parsing config from /etc/xen/ubuntu-hvm-1.cfg
libxl: error: libxl_pci.c:990:libxl__device_pci_reset: The kernel doesn't support reset from sysfs for PCI device 0000:05:00.0
libxl: error: libxl_pci.c:990:libxl__device_pci_reset: The kernel doesn't support reset from sysfs for PCI device 0000:05:00.1

However, the devices appear in the HVM. Is this something that I should be concerned about?

Quoted 14 lines · George Dunlap
Quoted 5 lines · Mike Neiderhauser

Works like a charm. I do not have physical access to the computer this weekend to verify that the cards are isolated, but the HVM starts and appears to be working well.

When do you think Xen 4.4 will be released. The article I read

mentioned it

Quoted 1 line

will be released in 2014 (hinting towards the end of February). I also

read

Quoted 3 lines

'When it is ready.'

Any timeline would be great.

Quoted 8 lines

I'm afraid that's about all we can give. :-) We've locked down development for 2 months now and are working on finding and fixing bugs. If there are no more blocker bugs or other unforeseen delays, it should be out by the end of February. But there are necessarily significant unknowns, so we can't make any promises.

-George

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel

#6 lore raw
Quoted 11 lines · Mike Neiderhauser

Thanks for the answers on the timeline.

When I start the HVM with th broadcom adapter, I get this message back. Parsing config from /etc/xen/ubuntu-hvm-1.cfg
libxl: error: libxl_pci.c:990:libxl__device_pci_reset: The kernel doesn't support reset from sysfs for PCI device 0000:05:00.0
libxl: error: libxl_pci.c:990:libxl__device_pci_reset: The kernel doesn't support reset from sysfs for PCI device 0000:05:00.1

However, the devices appear in the HVM. Is this something that I should be concerned about?

No. Xen pciback does the reset automatically.

Actually we might want to ditch that reporting in libxl, or maybe just implement a stub function in xen-pciback so that libxl will be happy.

Quoted 27 lines · George Dunlap
Quoted 23 lines
Quoted 5 lines · Mike Neiderhauser

Works like a charm. I do not have physical access to the computer this weekend to verify that the cards are isolated, but the HVM starts and appears to be working well.

When do you think Xen 4.4 will be released. The article I read

mentioned it

Quoted 1 line

will be released in 2014 (hinting towards the end of February). I also

read

Quoted 3 lines

'When it is ready.'

Any timeline would be great.

I'm afraid that's about all we can give. :-) We've locked down development for 2 months now and are working on finding and fixing bugs. If there are no more blocker bugs or other unforeseen delays, it should be out by the end of February. But there are necessarily significant unknowns, so we can't make any promises.

-George

#7 lore raw

So I went ahead to tested the setup I am trying to achieve using xen. This setup basically requires two isolated machines that can be used for network testing. On the hvm mentioned above, this testing fails due to something I cannot wrap my head around. I believe it is still related to the PCI passthrough of a device and I believe it is related to the libxl error mentioned above. Can anyone shed some light on what is going on? Is it a driver issue? (Broadcom Corporation NetXtreme II BCM5716 Gigabit Ethernet)

[79464.816085] ------------[ cut here ]------------
[79464.816093] WARNING: at
/build/buildd/linux-lts-raring-3.8.0/net/sched/sch_generic.c:254
dev_watchdog+0x262/0x270()
[79464.816094] Hardware name: HVM domU
[79464.816096] NETDEV WATCHDOG: eth1 (bnx2): transmit queue 1 timed out
[79464.816096] Modules linked in: esp6(F) ah6(F) xfrm6_mode_tunnel(F)

xfrm_user(F) xfrm4_tunnel(F) tunnel4(F) ipcomp(F) xfrm_ipcomp(F) authenc(F) esp4(F) ah4(F) xfrm4_mode_tunnel(F) deflate(F) zlib_deflate(F) ctr(F) twofish_generic(F) twofish_avx_x86_64(F) twofish_x86_64_3way(F) twofish_x86_64(F) twofish_common(F) camellia_generic(F) camellia_aesni_avx_x86_64(F) camellia_x86_64(F) serpent_avx_x86_64(F) serpent_sse2_x86_64(F) glue_helper(F) serpent_generic(F) blowfish_generic(F) blowfish_x86_64(F) blowfish_common(F) cast5_avx_x86_64(F) cast5_generic(F) cast_common(F) des_generic(F) xcbc(F) rmd160(F) crypto_null(F) af_key(F) xfrm_algo(F) 8021q(F) garp(F) stp(F) llc(F) ipmi_msghandler(F) autofs4(F) ghash_clmulni_intel(F) aesni_intel(F) ablk_helper(F) cryptd(F) lrw(F) aes_x86_64(F) xts(F) gf128mul(F) cirrus(F) ttm(F) drm_kms_helper(F) nfsd(F) nfs_acl(F) drm(F) auth_rpcgss(F) sysimgblt(F) nfs(F) psmouse(F) sysfillrect(F) syscopyarea(F) fscache(F) lockd(F) microcode(F) joydev(F) xen_kbdfront(F) i2c_piix4(F) serio_raw(F) lp(F) mac_hid(F) sunrpc(F) parport(F) floppy(F) bnx2(F) [last unloaded:
ipmi_msghandler]

[79464.816139] Pid: 0, comm: swapper/1 Tainted: GF
 3.8.0-29-generic #42~precise1-Ubuntu
[79464.816140] Call Trace:
[79464.816142]  <IRQ>  [<ffffffff81059b0f>] warn_slowpath_common+0x7f/0xc0
[79464.816149]  [<ffffffff8135b9d4>] ? timerqueue_add+0x64/0xb0
[79464.816151]  [<ffffffff81059c06>] warn_slowpath_fmt+0x46/0x50
[79464.816154]  [<ffffffff81076794>] ? wake_up_worker+0x24/0x30
[79464.816157]  [<ffffffff81602062>] dev_watchdog+0x262/0x270
[79464.816160]  [<ffffffff810771f0>] ? __queue_work+0x2d0/0x2d0
[79464.816161]  [<ffffffff81601e00>] ? pfifo_fast_dequeue+0xe0/0xe0
[79464.816164]  [<ffffffff8106995b>] call_timer_fn+0x3b/0x150
[79464.816167]  [<ffffffff8144f5a1>] ? add_interrupt_randomness+0x41/0x190
[79464.816170]  [<ffffffff8106b427>] run_timer_softirq+0x267/0x2c0
[79464.816173]  [<ffffffff810ee3c9>] ? handle_irq_event_percpu+0xa9/0x210
[79464.816175]  [<ffffffff81601e00>] ? pfifo_fast_dequeue+0xe0/0xe0
[79464.816177]  [<ffffffff81062620>] __do_softirq+0xc0/0x240
[79464.816180]  [<ffffffff810b67cd>] ? tick_do_update_jiffies64+0x9d/0xd0
[79464.816184]  [<ffffffff816fdd5c>] call_softirq+0x1c/0x30
[79464.816188]  [<ffffffff81016775>] do_softirq+0x65/0xa0
[79464.816189]  [<ffffffff810628fe>] irq_exit+0x8e/0xb0
[79464.816193]  [<ffffffff8140a125>] xen_evtchn_do_upcall+0x35/0x50
[79464.816195]  [<ffffffff816fdeed>] xen_hvm_callback_vector+0x6d/0x80
[79464.816196]  <EOI>  [<ffffffff81084008>] ? hrtimer_start+0x18/0x20
[79464.816201]  [<ffffffff81045136>] ? native_safe_halt+0x6/0x10
[79464.816204]  [<ffffffff8101cc33>] default_idle+0x53/0x1f0
[79464.816206]  [<ffffffff8101dad9>] cpu_idle+0xd9/0x120
[79464.816209]  [<ffffffff816d10fe>] start_secondary+0xc3/0xc5
[79464.816210] ---[ end trace 48cf6b13be16e0ae ]---
[79464.816214] bnx2 0000:00:05.0 eth1: <--- start FTQ dump --->
[79464.816220] bnx2 0000:00:05.0 eth1: RV2P_PFTQ_CTL 00010000
[79464.816225] bnx2 0000:00:05.0 eth1: RV2P_TFTQ_CTL 00020000
[79464.816258] bnx2 0000:00:05.0 eth1: RV2P_MFTQ_CTL 00004000
[79464.816263] bnx2 0000:00:05.0 eth1: TBDR_FTQ_CTL 00004000
[79464.816268] bnx2 0000:00:05.0 eth1: TDMA_FTQ_CTL 00010000
[79464.816272] bnx2 0000:00:05.0 eth1: TXP_FTQ_CTL 00010000
[79464.816276] bnx2 0000:00:05.0 eth1: TXP_FTQ_CTL 00010000
[79464.816280] bnx2 0000:00:05.0 eth1: TPAT_FTQ_CTL 00010000
[79464.816285] bnx2 0000:00:05.0 eth1: RXP_CFTQ_CTL 00008000
[79464.816289] bnx2 0000:00:05.0 eth1: RXP_FTQ_CTL 00100000
[79464.816293] bnx2 0000:00:05.0 eth1: COM_COMXQ_FTQ_CTL 00010000
[79464.816297] bnx2 0000:00:05.0 eth1: COM_COMTQ_FTQ_CTL 00020000
[79464.816302] bnx2 0000:00:05.0 eth1: COM_COMQ_FTQ_CTL 00010000
[79464.816306] bnx2 0000:00:05.0 eth1: CP_CPQ_FTQ_CTL 00004000
[79464.816308] bnx2 0000:00:05.0 eth1: CPU states:
[79464.816321] bnx2 0000:00:05.0 eth1: 045000 mode b84c state 80001000
evt_mask 500 pc 8001288 pc 8001288 instr 38640001
[79464.816335] bnx2 0000:00:05.0 eth1: 085000 mode b84c state 80005000
evt_mask 500 pc 8000a5c pc 8000a5c instr 10400016
[79464.816349] bnx2 0000:00:05.0 eth1: 0c5000 mode b84c state 80000000
evt_mask 500 pc 8004c14 pc 8004c14 instr 32050003
[79464.816362] bnx2 0000:00:05.0 eth1: 105000 mode b8cc state 80000000
evt_mask 500 pc 8000a9c pc 8000a94 instr 8c420020
[79464.816375] bnx2 0000:00:05.0 eth1: 145000 mode b880 state 80000000
evt_mask 500 pc 8009c00 pc 800d948 instr 30420040
[79464.816389] bnx2 0000:00:05.0 eth1: 185000 mode b8cc state 80008000
evt_mask 500 pc 8000c58 pc 8000c58 instr 1092823
[79464.816392] bnx2 0000:00:05.0 eth1: <--- end FTQ dump --->
[79464.816394] bnx2 0000:00:05.0 eth1: <--- start TBDC dump --->
[79464.816399] bnx2 0000:00:05.0 eth1: TBDC free cnt: 32
[79464.816401] bnx2 0000:00:05.0 eth1: LINE     CID  BIDX   CMD  VALIDS
[79464.816410] bnx2 0000:00:05.0 eth1: 00    001000  00e8   00    [0]
[79464.816420] bnx2 0000:00:05.0 eth1: 01    001000  00e8   00    [0]
[79464.816429] bnx2 0000:00:05.0 eth1: 02    000800  afc8   00    [0]
[79464.816438] bnx2 0000:00:05.0 eth1: 03    000800  afb8   00    [0]
[79464.816447] bnx2 0000:00:05.0 eth1: 04    000800  afd8   00    [0]
[79464.816456] bnx2 0000:00:05.0 eth1: 05    000800  afe0   00    [0]
[79464.816465] bnx2 0000:00:05.0 eth1: 06    000800  afe8   00    [0]
[79464.816474] bnx2 0000:00:05.0 eth1: 07    000800  afd0   00    [0]
[79464.816485] bnx2 0000:00:05.0 eth1: 08    001000  3510   00    [0]
[79464.816494] bnx2 0000:00:05.0 eth1: 09    000800  aec0   00    [0]
[79464.816504] bnx2 0000:00:05.0 eth1: 0a    001000  3530   00    [0]
[79464.816514] bnx2 0000:00:05.0 eth1: 0b    000800  aec8   00    [0]
[79464.816523] bnx2 0000:00:05.0 eth1: 0c    000800  aed0   00    [0]
[79464.816559] bnx2 0000:00:05.0 eth1: 0d    001000  34f8   00    [0]
[79464.816570] bnx2 0000:00:05.0 eth1: 0e    001000  3500   00    [0]
[79464.816580] bnx2 0000:00:05.0 eth1: 0f    001000  3518   00    [0]
[79464.816590] bnx2 0000:00:05.0 eth1: 10    1fbc00  2fe8   7d    [0]
[79464.816599] bnx2 0000:00:05.0 eth1: 11    1ab780  fff8   7d    [0]
[79464.816608] bnx2 0000:00:05.0 eth1: 12    17ff00  b908   f7    [0]
[79464.816618] bnx2 0000:00:05.0 eth1: 13    0cb700  ff40   d7    [0]
[79464.816627] bnx2 0000:00:05.0 eth1: 14    177a80  efe0   03    [0]
[79464.816637] bnx2 0000:00:05.0 eth1: 15    037d80  9f88   72    [0]
[79464.816646] bnx2 0000:00:05.0 eth1: 16    1bae00  eef8   ce    [0]
[79464.816657] bnx2 0000:00:05.0 eth1: 17    1bbc80  a7f8   df    [0]
[79464.816666] bnx2 0000:00:05.0 eth1: 18    17e180  6aa8   e4    [0]
[79464.816675] bnx2 0000:00:05.0 eth1: 19    07ff80  6e50   dd    [0]
[79464.816683] bnx2 0000:00:05.0 eth1: 1a    1fda80  f790   6e    [0]
[79464.816694] bnx2 0000:00:05.0 eth1: 1b    151580  d7b0   fc    [0]
[79464.816703] bnx2 0000:00:05.0 eth1: 1c    1b9f80  cef8   6b    [0]
[79464.816712] bnx2 0000:00:05.0 eth1: 1d    1ebf00  ffa8   df    [0]
[79464.816723] bnx2 0000:00:05.0 eth1: 1e    1e7e00  ff78   ef    [0]
[79464.816731] bnx2 0000:00:05.0 eth1: 1f    166e80  fbd8   aa    [0]
[79464.816733] bnx2 0000:00:05.0 eth1: <--- end TBDC dump --->
[79464.817101] bnx2 0000:00:05.0 eth1: DEBUG: intr_sem[0] PCI_CMD[00100406]
[79464.817239] bnx2 0000:00:05.0 eth1: DEBUG: PCI_PM[19002008]
PCI_MISC_CFG[92000088]
[79464.817248] bnx2 0000:00:05.0 eth1: DEBUG: EMAC_TX_STATUS[00000008]
EMAC_RX_STATUS[00000000]
[79464.817252] bnx2 0000:00:05.0 eth1: DEBUG: RPM_MGMT_PKT_CTRL[40000088]
[79464.817257] bnx2 0000:00:05.0 eth1: DEBUG:
HC_STATS_INTERRUPT_STATUS[01fc0003]
[79464.817261] bnx2 0000:00:05.0 eth1: DEBUG: PBA[00000003]
[79464.817264] bnx2 0000:00:05.0 eth1: <--- start MCP states dump --->
[79464.817270] bnx2 0000:00:05.0 eth1: DEBUG: MCP_STATE_P0[0003611e]
MCP_STATE_P1[0003611e]
[79464.817278] bnx2 0000:00:05.0 eth1: DEBUG: MCP mode[0000b880]
state[80000000] evt_mask[00000500]
[79464.817286] bnx2 0000:00:05.0 eth1: DEBUG: pc[08003ebc] pc[0800d994]
instr[32020020]
[79464.817288] bnx2 0000:00:05.0 eth1: DEBUG: shmem states:
[79464.817296] bnx2 0000:00:05.0 eth1: DEBUG: drv_mb[01030027]
fw_mb[00000027] link_status[0008506b]
[79464.817301]  drv_pulse_mb[0000338a]
[79464.817306] bnx2 0000:00:05.0 eth1: DEBUG: dev_info_signature[44564907]
reset_type[01005254]
[79464.817310]  condition[0003611e]
[79464.817318] bnx2 0000:00:05.0 eth1: DEBUG: 000001c0: 01005254 42530083
0003611e 00000000
[79464.817328] bnx2 0000:00:05.0 eth1: DEBUG: 000003cc: 00000000 00000000
00000000 00000000
[79464.817357] bnx2 0000:00:05.0 eth1: DEBUG: 000003dc: 00000000 00000000
00000000 00000000
[79464.817367] bnx2 0000:00:05.0 eth1: DEBUG: 000003ec: 00000000 00000000
00000000 00000000
[79464.817372] bnx2 0000:00:05.0 eth1: DEBUG: 0x3fc[00000000]
[79464.817374] bnx2 0000:00:05.0 eth1: <--- end MCP states dump --->
[79464.872988] bnx2 0000:00:05.0 eth1: NIC Copper Link is Down
Quoted 28 lines · Konrad Rzeszutek Wilk
Quoted 10 lines · Mike Neiderhauser

Thanks for the answers on the timeline.

When I start the HVM with th broadcom adapter, I get this message back. Parsing config from /etc/xen/ubuntu-hvm-1.cfg
libxl: error: libxl_pci.c:990:libxl__device_pci_reset: The kernel doesn't support reset from sysfs for PCI device 0000:05:00.0
libxl: error: libxl_pci.c:990:libxl__device_pci_reset: The kernel doesn't support reset from sysfs for PCI device 0000:05:00.1

However, the devices appear in the HVM. Is this something that I should

be

Quoted 1 line

concerned about?

No. Xen pciback does the reset automatically.

Actually we might want to ditch that reporting in libxl, or maybe just implement a stub function in xen-pciback so that libxl will be happy.

Quoted 4 lines

On Mon, Feb 10, 2014 at 12:11 PM, George Dunlap <[email protected]>

Quoted 4 lines · wrote:
Quoted 4 lines
Quoted 1 line · Mike Neiderhauser

Works like a charm. I do not have physical access to the computer

Quoted 22 lines

this

Quoted 6 lines
Quoted 6 lines
Quoted 4 lines

weekend to verify that the cards are isolated, but the HVM starts and appears to be working well.

When do you think Xen 4.4 will be released. The article I read

mentioned it

Quoted 1 line

will be released in 2014 (hinting towards the end of February). I

also

Quoted 13 lines
Quoted 13 lines

read

Quoted 3 lines

'When it is ready.'

Any timeline would be great.

I'm afraid that's about all we can give. :-) We've locked down development for 2 months now and are working on finding and fixing bugs. If there are no more blocker bugs or other unforeseen delays, it should be out by the end of February. But there are necessarily significant unknowns, so we can't make any promises.

-George

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel

#8 lore raw
Quoted 7 lines · Mike Neiderhauser

So I went ahead to tested the setup I am trying to achieve using xen. This setup basically requires two isolated machines that can be used for network testing. On the hvm mentioned above, this testing fails due to something I cannot wrap my head around. I believe it is still related to the PCI passthrough of a device and I believe it is related to the libxl error mentioned above. Can anyone shed some light on what is going on? Is it a driver issue? (Broadcom Corporation NetXtreme II BCM5716 Gigabit Ethernet)

That looks like this issue:

igb and bnx2: "NETDEV WATCHDOG: transmit queue timed out" when skb has huge linear buffer

(http://lkml.org/lkml/2014/1/30/358) ?

Quoted 207 lines
[79464.816085] ------------[ cut here ]------------
[79464.816093] WARNING: at
/build/buildd/linux-lts-raring-3.8.0/net/sched/sch_generic.c:254
dev_watchdog+0x262/0x270()
[79464.816094] Hardware name: HVM domU
[79464.816096] NETDEV WATCHDOG: eth1 (bnx2): transmit queue 1 timed out
[79464.816096] Modules linked in: esp6(F) ah6(F) xfrm6_mode_tunnel(F)

xfrm_user(F) xfrm4_tunnel(F) tunnel4(F) ipcomp(F) xfrm_ipcomp(F) authenc(F) esp4(F) ah4(F) xfrm4_mode_tunnel(F) deflate(F) zlib_deflate(F) ctr(F) twofish_generic(F) twofish_avx_x86_64(F) twofish_x86_64_3way(F) twofish_x86_64(F) twofish_common(F) camellia_generic(F) camellia_aesni_avx_x86_64(F) camellia_x86_64(F) serpent_avx_x86_64(F) serpent_sse2_x86_64(F) glue_helper(F) serpent_generic(F) blowfish_generic(F) blowfish_x86_64(F) blowfish_common(F) cast5_avx_x86_64(F) cast5_generic(F) cast_common(F) des_generic(F) xcbc(F) rmd160(F) crypto_null(F) af_key(F) xfrm_algo(F) 8021q(F) garp(F) stp(F) llc(F) ipmi_msghandler(F) autofs4(F) ghash_clmulni_intel(F) aesni_intel(F) ablk_helper(F) cryptd(F) lrw(F) aes_x86_64(F) xts(F) gf128mul(F) cirrus(F) ttm(F) drm_kms_helper(F) nfsd(F) nfs_acl(F) drm(F) auth_rpcgss(F) sysimgblt(F) nfs(F) psmouse(F) sysfillrect(F) syscopyarea(F) fscache(F) lockd(F) microcode(F) joydev(F) xen_kbdfront(F) i2c_piix4(F) serio_raw(F) lp(F) mac_hid(F) sunrpc(F) parport(F) floppy(F) bnx2(F) [last unloaded:
ipmi_msghandler]

[79464.816139] Pid: 0, comm: swapper/1 Tainted: GF
 3.8.0-29-generic #42~precise1-Ubuntu
[79464.816140] Call Trace:
[79464.816142]  <IRQ>  [<ffffffff81059b0f>] warn_slowpath_common+0x7f/0xc0
[79464.816149]  [<ffffffff8135b9d4>] ? timerqueue_add+0x64/0xb0
[79464.816151]  [<ffffffff81059c06>] warn_slowpath_fmt+0x46/0x50
[79464.816154]  [<ffffffff81076794>] ? wake_up_worker+0x24/0x30
[79464.816157]  [<ffffffff81602062>] dev_watchdog+0x262/0x270
[79464.816160]  [<ffffffff810771f0>] ? __queue_work+0x2d0/0x2d0
[79464.816161]  [<ffffffff81601e00>] ? pfifo_fast_dequeue+0xe0/0xe0
[79464.816164]  [<ffffffff8106995b>] call_timer_fn+0x3b/0x150
[79464.816167]  [<ffffffff8144f5a1>] ? add_interrupt_randomness+0x41/0x190
[79464.816170]  [<ffffffff8106b427>] run_timer_softirq+0x267/0x2c0
[79464.816173]  [<ffffffff810ee3c9>] ? handle_irq_event_percpu+0xa9/0x210
[79464.816175]  [<ffffffff81601e00>] ? pfifo_fast_dequeue+0xe0/0xe0
[79464.816177]  [<ffffffff81062620>] __do_softirq+0xc0/0x240
[79464.816180]  [<ffffffff810b67cd>] ? tick_do_update_jiffies64+0x9d/0xd0
[79464.816184]  [<ffffffff816fdd5c>] call_softirq+0x1c/0x30
[79464.816188]  [<ffffffff81016775>] do_softirq+0x65/0xa0
[79464.816189]  [<ffffffff810628fe>] irq_exit+0x8e/0xb0
[79464.816193]  [<ffffffff8140a125>] xen_evtchn_do_upcall+0x35/0x50
[79464.816195]  [<ffffffff816fdeed>] xen_hvm_callback_vector+0x6d/0x80
[79464.816196]  <EOI>  [<ffffffff81084008>] ? hrtimer_start+0x18/0x20
[79464.816201]  [<ffffffff81045136>] ? native_safe_halt+0x6/0x10
[79464.816204]  [<ffffffff8101cc33>] default_idle+0x53/0x1f0
[79464.816206]  [<ffffffff8101dad9>] cpu_idle+0xd9/0x120
[79464.816209]  [<ffffffff816d10fe>] start_secondary+0xc3/0xc5
[79464.816210] ---[ end trace 48cf6b13be16e0ae ]---
[79464.816214] bnx2 0000:00:05.0 eth1: <--- start FTQ dump --->
[79464.816220] bnx2 0000:00:05.0 eth1: RV2P_PFTQ_CTL 00010000
[79464.816225] bnx2 0000:00:05.0 eth1: RV2P_TFTQ_CTL 00020000
[79464.816258] bnx2 0000:00:05.0 eth1: RV2P_MFTQ_CTL 00004000
[79464.816263] bnx2 0000:00:05.0 eth1: TBDR_FTQ_CTL 00004000
[79464.816268] bnx2 0000:00:05.0 eth1: TDMA_FTQ_CTL 00010000
[79464.816272] bnx2 0000:00:05.0 eth1: TXP_FTQ_CTL 00010000
[79464.816276] bnx2 0000:00:05.0 eth1: TXP_FTQ_CTL 00010000
[79464.816280] bnx2 0000:00:05.0 eth1: TPAT_FTQ_CTL 00010000
[79464.816285] bnx2 0000:00:05.0 eth1: RXP_CFTQ_CTL 00008000
[79464.816289] bnx2 0000:00:05.0 eth1: RXP_FTQ_CTL 00100000
[79464.816293] bnx2 0000:00:05.0 eth1: COM_COMXQ_FTQ_CTL 00010000
[79464.816297] bnx2 0000:00:05.0 eth1: COM_COMTQ_FTQ_CTL 00020000
[79464.816302] bnx2 0000:00:05.0 eth1: COM_COMQ_FTQ_CTL 00010000
[79464.816306] bnx2 0000:00:05.0 eth1: CP_CPQ_FTQ_CTL 00004000
[79464.816308] bnx2 0000:00:05.0 eth1: CPU states:
[79464.816321] bnx2 0000:00:05.0 eth1: 045000 mode b84c state 80001000
evt_mask 500 pc 8001288 pc 8001288 instr 38640001
[79464.816335] bnx2 0000:00:05.0 eth1: 085000 mode b84c state 80005000
evt_mask 500 pc 8000a5c pc 8000a5c instr 10400016
[79464.816349] bnx2 0000:00:05.0 eth1: 0c5000 mode b84c state 80000000
evt_mask 500 pc 8004c14 pc 8004c14 instr 32050003
[79464.816362] bnx2 0000:00:05.0 eth1: 105000 mode b8cc state 80000000
evt_mask 500 pc 8000a9c pc 8000a94 instr 8c420020
[79464.816375] bnx2 0000:00:05.0 eth1: 145000 mode b880 state 80000000
evt_mask 500 pc 8009c00 pc 800d948 instr 30420040
[79464.816389] bnx2 0000:00:05.0 eth1: 185000 mode b8cc state 80008000
evt_mask 500 pc 8000c58 pc 8000c58 instr 1092823
[79464.816392] bnx2 0000:00:05.0 eth1: <--- end FTQ dump --->
[79464.816394] bnx2 0000:00:05.0 eth1: <--- start TBDC dump --->
[79464.816399] bnx2 0000:00:05.0 eth1: TBDC free cnt: 32
[79464.816401] bnx2 0000:00:05.0 eth1: LINE     CID  BIDX   CMD  VALIDS
[79464.816410] bnx2 0000:00:05.0 eth1: 00    001000  00e8   00    [0]
[79464.816420] bnx2 0000:00:05.0 eth1: 01    001000  00e8   00    [0]
[79464.816429] bnx2 0000:00:05.0 eth1: 02    000800  afc8   00    [0]
[79464.816438] bnx2 0000:00:05.0 eth1: 03    000800  afb8   00    [0]
[79464.816447] bnx2 0000:00:05.0 eth1: 04    000800  afd8   00    [0]
[79464.816456] bnx2 0000:00:05.0 eth1: 05    000800  afe0   00    [0]
[79464.816465] bnx2 0000:00:05.0 eth1: 06    000800  afe8   00    [0]
[79464.816474] bnx2 0000:00:05.0 eth1: 07    000800  afd0   00    [0]
[79464.816485] bnx2 0000:00:05.0 eth1: 08    001000  3510   00    [0]
[79464.816494] bnx2 0000:00:05.0 eth1: 09    000800  aec0   00    [0]
[79464.816504] bnx2 0000:00:05.0 eth1: 0a    001000  3530   00    [0]
[79464.816514] bnx2 0000:00:05.0 eth1: 0b    000800  aec8   00    [0]
[79464.816523] bnx2 0000:00:05.0 eth1: 0c    000800  aed0   00    [0]
[79464.816559] bnx2 0000:00:05.0 eth1: 0d    001000  34f8   00    [0]
[79464.816570] bnx2 0000:00:05.0 eth1: 0e    001000  3500   00    [0]
[79464.816580] bnx2 0000:00:05.0 eth1: 0f    001000  3518   00    [0]
[79464.816590] bnx2 0000:00:05.0 eth1: 10    1fbc00  2fe8   7d    [0]
[79464.816599] bnx2 0000:00:05.0 eth1: 11    1ab780  fff8   7d    [0]
[79464.816608] bnx2 0000:00:05.0 eth1: 12    17ff00  b908   f7    [0]
[79464.816618] bnx2 0000:00:05.0 eth1: 13    0cb700  ff40   d7    [0]
[79464.816627] bnx2 0000:00:05.0 eth1: 14    177a80  efe0   03    [0]
[79464.816637] bnx2 0000:00:05.0 eth1: 15    037d80  9f88   72    [0]
[79464.816646] bnx2 0000:00:05.0 eth1: 16    1bae00  eef8   ce    [0]
[79464.816657] bnx2 0000:00:05.0 eth1: 17    1bbc80  a7f8   df    [0]
[79464.816666] bnx2 0000:00:05.0 eth1: 18    17e180  6aa8   e4    [0]
[79464.816675] bnx2 0000:00:05.0 eth1: 19    07ff80  6e50   dd    [0]
[79464.816683] bnx2 0000:00:05.0 eth1: 1a    1fda80  f790   6e    [0]
[79464.816694] bnx2 0000:00:05.0 eth1: 1b    151580  d7b0   fc    [0]
[79464.816703] bnx2 0000:00:05.0 eth1: 1c    1b9f80  cef8   6b    [0]
[79464.816712] bnx2 0000:00:05.0 eth1: 1d    1ebf00  ffa8   df    [0]
[79464.816723] bnx2 0000:00:05.0 eth1: 1e    1e7e00  ff78   ef    [0]
[79464.816731] bnx2 0000:00:05.0 eth1: 1f    166e80  fbd8   aa    [0]
[79464.816733] bnx2 0000:00:05.0 eth1: <--- end TBDC dump --->
[79464.817101] bnx2 0000:00:05.0 eth1: DEBUG: intr_sem[0] PCI_CMD[00100406]
[79464.817239] bnx2 0000:00:05.0 eth1: DEBUG: PCI_PM[19002008]
PCI_MISC_CFG[92000088]
[79464.817248] bnx2 0000:00:05.0 eth1: DEBUG: EMAC_TX_STATUS[00000008]
EMAC_RX_STATUS[00000000]
[79464.817252] bnx2 0000:00:05.0 eth1: DEBUG: RPM_MGMT_PKT_CTRL[40000088]
[79464.817257] bnx2 0000:00:05.0 eth1: DEBUG:
HC_STATS_INTERRUPT_STATUS[01fc0003]
[79464.817261] bnx2 0000:00:05.0 eth1: DEBUG: PBA[00000003]
[79464.817264] bnx2 0000:00:05.0 eth1: <--- start MCP states dump --->
[79464.817270] bnx2 0000:00:05.0 eth1: DEBUG: MCP_STATE_P0[0003611e]
MCP_STATE_P1[0003611e]
[79464.817278] bnx2 0000:00:05.0 eth1: DEBUG: MCP mode[0000b880]
state[80000000] evt_mask[00000500]
[79464.817286] bnx2 0000:00:05.0 eth1: DEBUG: pc[08003ebc] pc[0800d994]
instr[32020020]
[79464.817288] bnx2 0000:00:05.0 eth1: DEBUG: shmem states:
[79464.817296] bnx2 0000:00:05.0 eth1: DEBUG: drv_mb[01030027]
fw_mb[00000027] link_status[0008506b]
[79464.817301]  drv_pulse_mb[0000338a]
[79464.817306] bnx2 0000:00:05.0 eth1: DEBUG: dev_info_signature[44564907]
reset_type[01005254]
[79464.817310]  condition[0003611e]
[79464.817318] bnx2 0000:00:05.0 eth1: DEBUG: 000001c0: 01005254 42530083
0003611e 00000000
[79464.817328] bnx2 0000:00:05.0 eth1: DEBUG: 000003cc: 00000000 00000000
00000000 00000000
[79464.817357] bnx2 0000:00:05.0 eth1: DEBUG: 000003dc: 00000000 00000000
00000000 00000000
[79464.817367] bnx2 0000:00:05.0 eth1: DEBUG: 000003ec: 00000000 00000000
00000000 00000000
[79464.817372] bnx2 0000:00:05.0 eth1: DEBUG: 0x3fc[00000000]
[79464.817374] bnx2 0000:00:05.0 eth1: <--- end MCP states dump --->
[79464.872988] bnx2 0000:00:05.0 eth1: NIC Copper Link is Down
Quoted 50 lines · Konrad Rzeszutek Wilk
Quoted 10 lines · Mike Neiderhauser

Thanks for the answers on the timeline.

When I start the HVM with th broadcom adapter, I get this message back. Parsing config from /etc/xen/ubuntu-hvm-1.cfg
libxl: error: libxl_pci.c:990:libxl__device_pci_reset: The kernel doesn't support reset from sysfs for PCI device 0000:05:00.0
libxl: error: libxl_pci.c:990:libxl__device_pci_reset: The kernel doesn't support reset from sysfs for PCI device 0000:05:00.1

However, the devices appear in the HVM. Is this something that I should

be

Quoted 1 line

concerned about?

No. Xen pciback does the reset automatically.

Actually we might want to ditch that reporting in libxl, or maybe just implement a stub function in xen-pciback so that libxl will be happy.

Quoted 4 lines

On Mon, Feb 10, 2014 at 12:11 PM, George Dunlap <[email protected]>

Quoted 4 lines · wrote:
Quoted 4 lines
Quoted 1 line · Mike Neiderhauser

Works like a charm. I do not have physical access to the computer

this

Quoted 6 lines
Quoted 6 lines
Quoted 4 lines

weekend to verify that the cards are isolated, but the HVM starts and appears to be working well.

When do you think Xen 4.4 will be released. The article I read

mentioned it

Quoted 1 line

will be released in 2014 (hinting towards the end of February). I

also

Quoted 13 lines
Quoted 13 lines

read

Quoted 3 lines

'When it is ready.'

Any timeline would be great.

I'm afraid that's about all we can give. :-) We've locked down development for 2 months now and are working on finding and fixing bugs. If there are no more blocker bugs or other unforeseen delays, it should be out by the end of February. But there are necessarily significant unknowns, so we can't make any promises.

-George

#9 lore raw

It looks very similar.

Quoted 228 lines · Konrad Rzeszutek Wilk
Quoted 1 line · Mike Neiderhauser

So I went ahead to tested the setup I am trying to achieve using xen.

This

Quoted 1 line

setup basically requires two isolated machines that can be used for

network

Quoted 1 line

testing. On the hvm mentioned above, this testing fails due to

something I

Quoted 4 lines

cannot wrap my head around. I believe it is still related to the PCI passthrough of a device and I believe it is related to the libxl error mentioned above. Can anyone shed some light on what is going on? Is it a driver issue? (Broadcom Corporation NetXtreme II BCM5716 Gigabit

Ethernet)

That looks like this issue:

igb and bnx2: "NETDEV WATCHDOG: transmit queue timed out" when skb has huge linear buffer

(http://lkml.org/lkml/2014/1/30/358) ?

Quoted 9 lines
[79464.816085] ------------[ cut here ]------------
[79464.816093] WARNING: at
/build/buildd/linux-lts-raring-3.8.0/net/sched/sch_generic.c:254
dev_watchdog+0x262/0x270()
[79464.816094] Hardware name: HVM domU
[79464.816096] NETDEV WATCHDOG: eth1 (bnx2): transmit queue 1 timed out
[79464.816096] Modules linked in: esp6(F) ah6(F) xfrm6_mode_tunnel(F)

xfrm_user(F) xfrm4_tunnel(F) tunnel4(F) ipcomp(F) xfrm_ipcomp(F)

authenc(F)

Quoted 7 lines

esp4(F) ah4(F) xfrm4_mode_tunnel(F) deflate(F) zlib_deflate(F) ctr(F) twofish_generic(F) twofish_avx_x86_64(F) twofish_x86_64_3way(F) twofish_x86_64(F) twofish_common(F) camellia_generic(F) camellia_aesni_avx_x86_64(F) camellia_x86_64(F) serpent_avx_x86_64(F) serpent_sse2_x86_64(F) glue_helper(F) serpent_generic(F) blowfish_generic(F) blowfish_x86_64(F) blowfish_common(F) cast5_avx_x86_64(F) cast5_generic(F) cast_common(F) des_generic(F)

xcbc(F)

Quoted 2 lines

rmd160(F) crypto_null(F) af_key(F) xfrm_algo(F) 8021q(F) garp(F) stp(F) llc(F) ipmi_msghandler(F) autofs4(F) ghash_clmulni_intel(F)

aesni_intel(F)

Quoted 1 line

ablk_helper(F) cryptd(F) lrw(F) aes_x86_64(F) xts(F) gf128mul(F)

cirrus(F)

Quoted 9 lines

ttm(F) drm_kms_helper(F) nfsd(F) nfs_acl(F) drm(F) auth_rpcgss(F) sysimgblt(F) nfs(F) psmouse(F) sysfillrect(F) syscopyarea(F) fscache(F) lockd(F) microcode(F) joydev(F) xen_kbdfront(F) i2c_piix4(F) serio_raw(F) lp(F) mac_hid(F) sunrpc(F) parport(F) floppy(F) bnx2(F) [last unloaded:
ipmi_msghandler]

[79464.816139] Pid: 0, comm: swapper/1 Tainted: GF
 3.8.0-29-generic #42~precise1-Ubuntu
[79464.816140] Call Trace:
[79464.816142]  <IRQ>  [<ffffffff81059b0f>]
warn_slowpath_common+0x7f/0xc0
> [79464.816149]  [<ffffffff8135b9d4>] ? timerqueue_add+0x64/0xb0
> [79464.816151]  [<ffffffff81059c06>] warn_slowpath_fmt+0x46/0x50
> [79464.816154]  [<ffffffff81076794>] ? wake_up_worker+0x24/0x30
> [79464.816157]  [<ffffffff81602062>] dev_watchdog+0x262/0x270
> [79464.816160]  [<ffffffff810771f0>] ? __queue_work+0x2d0/0x2d0
> [79464.816161]  [<ffffffff81601e00>] ? pfifo_fast_dequeue+0xe0/0xe0
> [79464.816164]  [<ffffffff8106995b>] call_timer_fn+0x3b/0x150
Quoted 1 line
[79464.816167]  [<ffffffff8144f5a1>] ?
add_interrupt_randomness+0x41/0x190
> [79464.816170]  [<ffffffff8106b427>] run_timer_softirq+0x267/0x2c0
> [79464.816173]  [<ffffffff810ee3c9>] ? handle_irq_event_percpu+0xa9/0x210
> [79464.816175]  [<ffffffff81601e00>] ? pfifo_fast_dequeue+0xe0/0xe0
> [79464.816177]  [<ffffffff81062620>] __do_softirq+0xc0/0x240
> [79464.816180]  [<ffffffff810b67cd>] ? tick_do_update_jiffies64+0x9d/0xd0
> [79464.816184]  [<ffffffff816fdd5c>] call_softirq+0x1c/0x30
> [79464.816188]  [<ffffffff81016775>] do_softirq+0x65/0xa0
> [79464.816189]  [<ffffffff810628fe>] irq_exit+0x8e/0xb0
> [79464.816193]  [<ffffffff8140a125>] xen_evtchn_do_upcall+0x35/0x50
> [79464.816195]  [<ffffffff816fdeed>] xen_hvm_callback_vector+0x6d/0x80
> [79464.816196]  <EOI>  [<ffffffff81084008>] ? hrtimer_start+0x18/0x20
> [79464.816201]  [<ffffffff81045136>] ? native_safe_halt+0x6/0x10
> [79464.816204]  [<ffffffff8101cc33>] default_idle+0x53/0x1f0
> [79464.816206]  [<ffffffff8101dad9>] cpu_idle+0xd9/0x120
> [79464.816209]  [<ffffffff816d10fe>] start_secondary+0xc3/0xc5
Quoted 59 lines
[79464.816210] ---[ end trace 48cf6b13be16e0ae ]---
[79464.816214] bnx2 0000:00:05.0 eth1: <--- start FTQ dump --->
[79464.816220] bnx2 0000:00:05.0 eth1: RV2P_PFTQ_CTL 00010000
[79464.816225] bnx2 0000:00:05.0 eth1: RV2P_TFTQ_CTL 00020000
[79464.816258] bnx2 0000:00:05.0 eth1: RV2P_MFTQ_CTL 00004000
[79464.816263] bnx2 0000:00:05.0 eth1: TBDR_FTQ_CTL 00004000
[79464.816268] bnx2 0000:00:05.0 eth1: TDMA_FTQ_CTL 00010000
[79464.816272] bnx2 0000:00:05.0 eth1: TXP_FTQ_CTL 00010000
[79464.816276] bnx2 0000:00:05.0 eth1: TXP_FTQ_CTL 00010000
[79464.816280] bnx2 0000:00:05.0 eth1: TPAT_FTQ_CTL 00010000
[79464.816285] bnx2 0000:00:05.0 eth1: RXP_CFTQ_CTL 00008000
[79464.816289] bnx2 0000:00:05.0 eth1: RXP_FTQ_CTL 00100000
[79464.816293] bnx2 0000:00:05.0 eth1: COM_COMXQ_FTQ_CTL 00010000
[79464.816297] bnx2 0000:00:05.0 eth1: COM_COMTQ_FTQ_CTL 00020000
[79464.816302] bnx2 0000:00:05.0 eth1: COM_COMQ_FTQ_CTL 00010000
[79464.816306] bnx2 0000:00:05.0 eth1: CP_CPQ_FTQ_CTL 00004000
[79464.816308] bnx2 0000:00:05.0 eth1: CPU states:
[79464.816321] bnx2 0000:00:05.0 eth1: 045000 mode b84c state 80001000
evt_mask 500 pc 8001288 pc 8001288 instr 38640001
[79464.816335] bnx2 0000:00:05.0 eth1: 085000 mode b84c state 80005000
evt_mask 500 pc 8000a5c pc 8000a5c instr 10400016
[79464.816349] bnx2 0000:00:05.0 eth1: 0c5000 mode b84c state 80000000
evt_mask 500 pc 8004c14 pc 8004c14 instr 32050003
[79464.816362] bnx2 0000:00:05.0 eth1: 105000 mode b8cc state 80000000
evt_mask 500 pc 8000a9c pc 8000a94 instr 8c420020
[79464.816375] bnx2 0000:00:05.0 eth1: 145000 mode b880 state 80000000
evt_mask 500 pc 8009c00 pc 800d948 instr 30420040
[79464.816389] bnx2 0000:00:05.0 eth1: 185000 mode b8cc state 80008000
evt_mask 500 pc 8000c58 pc 8000c58 instr 1092823
[79464.816392] bnx2 0000:00:05.0 eth1: <--- end FTQ dump --->
[79464.816394] bnx2 0000:00:05.0 eth1: <--- start TBDC dump --->
[79464.816399] bnx2 0000:00:05.0 eth1: TBDC free cnt: 32
[79464.816401] bnx2 0000:00:05.0 eth1: LINE     CID  BIDX   CMD  VALIDS
[79464.816410] bnx2 0000:00:05.0 eth1: 00    001000  00e8   00    [0]
[79464.816420] bnx2 0000:00:05.0 eth1: 01    001000  00e8   00    [0]
[79464.816429] bnx2 0000:00:05.0 eth1: 02    000800  afc8   00    [0]
[79464.816438] bnx2 0000:00:05.0 eth1: 03    000800  afb8   00    [0]
[79464.816447] bnx2 0000:00:05.0 eth1: 04    000800  afd8   00    [0]
[79464.816456] bnx2 0000:00:05.0 eth1: 05    000800  afe0   00    [0]
[79464.816465] bnx2 0000:00:05.0 eth1: 06    000800  afe8   00    [0]
[79464.816474] bnx2 0000:00:05.0 eth1: 07    000800  afd0   00    [0]
[79464.816485] bnx2 0000:00:05.0 eth1: 08    001000  3510   00    [0]
[79464.816494] bnx2 0000:00:05.0 eth1: 09    000800  aec0   00    [0]
[79464.816504] bnx2 0000:00:05.0 eth1: 0a    001000  3530   00    [0]
[79464.816514] bnx2 0000:00:05.0 eth1: 0b    000800  aec8   00    [0]
[79464.816523] bnx2 0000:00:05.0 eth1: 0c    000800  aed0   00    [0]
[79464.816559] bnx2 0000:00:05.0 eth1: 0d    001000  34f8   00    [0]
[79464.816570] bnx2 0000:00:05.0 eth1: 0e    001000  3500   00    [0]
[79464.816580] bnx2 0000:00:05.0 eth1: 0f    001000  3518   00    [0]
[79464.816590] bnx2 0000:00:05.0 eth1: 10    1fbc00  2fe8   7d    [0]
[79464.816599] bnx2 0000:00:05.0 eth1: 11    1ab780  fff8   7d    [0]
[79464.816608] bnx2 0000:00:05.0 eth1: 12    17ff00  b908   f7    [0]
[79464.816618] bnx2 0000:00:05.0 eth1: 13    0cb700  ff40   d7    [0]
[79464.816627] bnx2 0000:00:05.0 eth1: 14    177a80  efe0   03    [0]
[79464.816637] bnx2 0000:00:05.0 eth1: 15    037d80  9f88   72    [0]
[79464.816646] bnx2 0000:00:05.0 eth1: 16    1bae00  eef8   ce    [0]
[79464.816657] bnx2 0000:00:05.0 eth1: 17    1bbc80  a7f8   df    [0]
[79464.816666] bnx2 0000:00:05.0 eth1: 18    17e180  6aa8   e4    [0]
[79464.816675] bnx2 0000:00:05.0 eth1: 19    07ff80  6e50   dd    [0]
Quoted 8 lines
[79464.816683] bnx2 0000:00:05.0 eth1: 1a    1fda80  f790   6e    [0]
[79464.816694] bnx2 0000:00:05.0 eth1: 1b    151580  d7b0   fc    [0]
[79464.816703] bnx2 0000:00:05.0 eth1: 1c    1b9f80  cef8   6b    [0]
[79464.816712] bnx2 0000:00:05.0 eth1: 1d    1ebf00  ffa8   df    [0]
[79464.816723] bnx2 0000:00:05.0 eth1: 1e    1e7e00  ff78   ef    [0]
[79464.816731] bnx2 0000:00:05.0 eth1: 1f    166e80  fbd8   aa    [0]
[79464.816733] bnx2 0000:00:05.0 eth1: <--- end TBDC dump --->
[79464.817101] bnx2 0000:00:05.0 eth1: DEBUG: intr_sem[0]

PCI_CMD[00100406]

Quoted 12 lines
[79464.817239] bnx2 0000:00:05.0 eth1: DEBUG: PCI_PM[19002008]
PCI_MISC_CFG[92000088]
[79464.817248] bnx2 0000:00:05.0 eth1: DEBUG: EMAC_TX_STATUS[00000008]
EMAC_RX_STATUS[00000000]
[79464.817252] bnx2 0000:00:05.0 eth1: DEBUG: RPM_MGMT_PKT_CTRL[40000088]
[79464.817257] bnx2 0000:00:05.0 eth1: DEBUG:
HC_STATS_INTERRUPT_STATUS[01fc0003]
[79464.817261] bnx2 0000:00:05.0 eth1: DEBUG: PBA[00000003]
[79464.817264] bnx2 0000:00:05.0 eth1: <--- start MCP states dump --->
[79464.817270] bnx2 0000:00:05.0 eth1: DEBUG: MCP_STATE_P0[0003611e]
MCP_STATE_P1[0003611e]
[79464.817278] bnx2 0000:00:05.0 eth1: DEBUG: MCP mode[0000b880]
Quoted 8 lines

state[80000000] evt_mask[00000500]

[79464.817286] bnx2 0000:00:05.0 eth1: DEBUG: pc[08003ebc] pc[0800d994]
instr[32020020]
[79464.817288] bnx2 0000:00:05.0 eth1: DEBUG: shmem states:
[79464.817296] bnx2 0000:00:05.0 eth1: DEBUG: drv_mb[01030027]
fw_mb[00000027] link_status[0008506b]
[79464.817301]  drv_pulse_mb[0000338a]
[79464.817306] bnx2 0000:00:05.0 eth1: DEBUG:

dev_info_signature[44564907]

Quoted 16 lines

reset_type[01005254]

[79464.817310]  condition[0003611e]
[79464.817318] bnx2 0000:00:05.0 eth1: DEBUG: 000001c0: 01005254 42530083
0003611e 00000000
[79464.817328] bnx2 0000:00:05.0 eth1: DEBUG: 000003cc: 00000000 00000000
00000000 00000000
[79464.817357] bnx2 0000:00:05.0 eth1: DEBUG: 000003dc: 00000000 00000000
00000000 00000000
[79464.817367] bnx2 0000:00:05.0 eth1: DEBUG: 000003ec: 00000000 00000000
00000000 00000000
[79464.817372] bnx2 0000:00:05.0 eth1: DEBUG: 0x3fc[00000000]
[79464.817374] bnx2 0000:00:05.0 eth1: <--- end MCP states dump --->
[79464.872988] bnx2 0000:00:05.0 eth1: NIC Copper Link is Down
Quoted 7 lines
Quoted 4 lines · Konrad Rzeszutek Wilk
Quoted 3 lines · Mike Neiderhauser

Thanks for the answers on the timeline.

When I start the HVM with th broadcom adapter, I get this message

back.

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

Parsing config from /etc/xen/ubuntu-hvm-1.cfg
libxl: error: libxl_pci.c:990:libxl__device_pci_reset: The kernel

doesn't

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

support reset from sysfs for PCI device 0000:05:00.0
libxl: error: libxl_pci.c:990:libxl__device_pci_reset: The kernel

doesn't

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

support reset from sysfs for PCI device 0000:05:00.1

However, the devices appear in the HVM. Is this something that I

should

Quoted 11 lines
Quoted 11 lines

be

Quoted 1 line

concerned about?

No. Xen pciback does the reset automatically.

Actually we might want to ditch that reporting in libxl, or maybe just implement a stub function in xen-pciback so that libxl will be happy.

Quoted 3 lines
Quoted 6 lines
Quoted 6 lines
Quoted 1 line

On Mon, Feb 10, 2014 at 12:11 PM, George Dunlap <[email protected]>

Quoted 4 lines · wrote:
Quoted 4 lines
Quoted 1 line · Mike Neiderhauser

Works like a charm. I do not have physical access to the

computer

Quoted 2 lines
Quoted 2 lines

this

Quoted 1 line
Quoted 1 line
Quoted 1 line

weekend to verify that the cards are isolated, but the HVM

starts and

Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 3 lines

appears to be working well.

When do you think Xen 4.4 will be released. The article I read

mentioned it

Quoted 1 line

will be released in 2014 (hinting towards the end of February).

I

Quoted 2 lines
Quoted 2 lines

also

Quoted 1 line
Quoted 1 line

read

Quoted 15 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 3 lines

'When it is ready.'

Any timeline would be great.

I'm afraid that's about all we can give. :-) We've locked down development for 2 months now and are working on finding and fixing bugs. If there are no more blocker bugs or other unforeseen

delays,

Quoted 6 lines
Quoted 6 lines
Quoted 5 lines
Quoted 5 lines

it should be out by the end of February. But there are necessarily significant unknowns, so we can't make any promises.

-George

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel